Troubleshooting
Symptoms with requests and keys, results and the Python library, and speaker profiles.
Find the symptom you’re seeing, then follow the link to the page that explains it.
Requests and keys
| Symptom | Where it’s explained |
|---|---|
401 with API key required | Error codes → API key required |
401 with Invalid API key, or CochlSenseException: Unauthorized | Error codes → Invalid API key · FAQs → My project key doesn’t work |
400 with No services selected | Error codes → No services selected · Getting Started → Valid service combinations |
400 with cannot decode …, empty file, or no audio samples found in file when uploading a file | Error codes → decode failure · Getting Started → Convert to supported file formats |
402 with exceeded maximum usage limit, or the trial minutes are used up | Error codes → usage limit exceeded · FAQs → free trial minutes |
422 with Validation error | Error codes → undefined option key · required field missing |
Results and the Python library
| Symptom | Where it’s explained |
|---|---|
The job is completed, but one service has status: "error" | Error codes → §4 Service errors inside job results |
sound_event_detection has status: "error" (This service could not process the audio…) on a very short file | The audio is shorter than 2 seconds — Error codes → max_workers must be greater than 0 |
Every speech segment has speaker_name: "Unknown …" | Speech analysis → When every speaker is Unknown |
get_completed_result() returns None | Error codes → §6.1 IntegratedApi |
except Exception: doesn’t catch API errors | Error codes → §6 Errors in the Python library |
The exception message is only Unauthorized / Bad Request, not the server’s message | Error codes → §6.1 IntegratedApi |
| You need more detail about an error, or want to contact support | FAQs → How can I get more information about an error? |
Speaker profiles
| Symptom | Where it’s explained |
|---|---|
speaker is invalid. only alphabet, number and underscore are allowed | Error codes → speaker is invalid |
max speakers (50) exceeded for organization or max voices (20) exceeded for speaker … | Error codes → max speakers exceeded · max voices exceeded |
file is bigger than … MB, or enroll failed | Error codes → file bigger than 10 MB · enroll failed |
401 with x_org_key required or organization not found | Error codes → x_org_key required · organization not found |
A registered speaker isn’t recognized (is_compatible is false) | Custom sound: Speaker profile → Best practices & limitations |
Last updated
Need help? Contact support@cochl.ai
For Cochl.Sense Pro, include the job_id and the time of the request (with time zone).

