Errors
Deepomatic uses conventional HTTP response codes to indicate the success or failure of an API request.
As a general rule:
Codes in the
2xxrange indicate success.Codes in the
4xxrange indicate incorrect or incomplete parameters (e.g. a required parameter was omitted, or an authentication credential is wrong, etc.).Codes in the
5xxrange indicate an error with Deepomatic's servers.
Deepomatic also outputs an error message formatted in JSON:
{'detail': 'Authentication credentials not provided.'}Was this helpful?