Skip to content

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

SymptomWhere it’s explained
401 with API key requiredError codes → API key required
401 with Invalid API key, or CochlSenseException: UnauthorizedError codes → Invalid API key · FAQs → My project key doesn’t work
400 with No services selectedError 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 fileError codes → decode failure · Getting Started → Convert to supported file formats
402 with exceeded maximum usage limit, or the trial minutes are used upError codes → usage limit exceeded · FAQs → free trial minutes
422 with Validation errorError codes → undefined option key · required field missing

Results and the Python library

SymptomWhere 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 fileThe 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 NoneError codes → §6.1 IntegratedApi
except Exception: doesn’t catch API errorsError codes → §6 Errors in the Python library
The exception message is only Unauthorized / Bad Request, not the server’s messageError codes → §6.1 IntegratedApi
You need more detail about an error, or want to contact supportFAQs → How can I get more information about an error?

Speaker profiles

SymptomWhere it’s explained
speaker is invalid. only alphabet, number and underscore are allowedError 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 failedError codes → file bigger than 10 MB · enroll failed
401 with x_org_key required or organization not foundError 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).

Powered by Cochl