jambonz / jambonz-webapp

A simple provisioning web app for jambonz
MIT License
5 stars 20 forks source link

Portal ElevenLabs Status #405

Closed flean closed 4 months ago

flean commented 4 months ago
Screenshot 2024-02-19 at 12 50 45 PM

Portal says Status Fail

https://jambonz.cloud/api/v1/ServiceProviders/undefined/SpeechCredentials

Bad Request 

Response {"msg":"Bad request"}

Here is proof it is working in apps.

Screenshot 2024-02-19 at 12 52 51 PM
xquanluu commented 4 months ago

Hi @flean Have you bought your key? If you are using trial keys, this issue will happens.

By using your key to run this code multiple time, please make sure that the key does not return error.

curl --request POST \
  --url https://api.elevenlabs.io/v1/text-to-speech/21m00Tcm4TlvDq8ikWAM \
  --header 'Content-Type: application/json' \
  --header 'xi-api-key: your-key-is-here' \
  --data '{
  "model_id": "eleven_turbo_v2",
  "text": "Hello"
}' -v
xquanluu commented 4 months ago

it's also strange that https://jambonz.cloud/api/v1/ServiceProviders/undefined/SpeechCredentials

undefined is in url path, could you tell me steps to have this issue, I cannot reproduce it in my jambonz server.

flean commented 4 months ago

I sa that error on the speech page, looking at the XHR/Fetch requests.

I upgraded ElevenLabs to Paid and that fixed the status issue. So, I think you should add that the trial accounts will show status failed but work.