Перейти к содержимому

Справочник ошибок

Сервис CreativeLab API всегда возвращает HTTP 200, а для получения информации об ошибке передает код ошибки в виде JSON в теле ответа.

При успешном сценарии код ошибки будет всегда равен нулю.

Доступные ошибки

CodeMessage
1Internal server error.
2Invalid token, check if authorization header has a valid value.
3Invalid input, check schema issues.
4Record not found.
5Insufficient balance, check account balance.
6Service on heavy load. Try again later.
7Has organization restrict for this model.
99API method not found, please check url you call.
500Internal exception. We already working on this issue.
1001Sensitive content has been detected in your request or uploaded files. The security system has blocked data processing. Please check the text and images and try again. Repeated violations may lead to restricted access to your account.
1002Your prompt did not pass the content safety check. Please modify your request. Please note that repeating this error may lead to account suspension.