ДокументацияСправка APIКоды ошибок

Коды ошибок

Собранные JSON-примеры ошибок API; пошаговые действия для пользователя — в «Частых ошибках».

json
{"error":{"message":"Invalid token","code":401}}
{"error":{"message":"Insufficient quota"}}
{"error":{"message":"model not found or not available for this token group"}}
{"error":{"message":"Rate limit exceeded"}}
{"type":"error","error":{"type":"invalid_request_error","message":"max_tokens: required"}}

См. также