Status CodeError CodeMessageDescription
401missing_api_keyMissing API keyNo API key provided in the request
401invalid_api_keyInvalid API keyThe provided API key is not valid
400invalid_model_configModel config is not valid JSONThe model configuration is not in valid JSON format
400invalid_model_configModel config does not have correct schemaThe model configuration doesn’t match the expected schema
400invalid_user_rate_limit_configUser rate limit config is not valid JSONThe user rate limit configuration is not in valid JSON format
400invalid_user_rate_limit_configUser rate limit config does not have correct schemaThe user rate limit configuration doesn’t match the expected schema
429user_rate_limitedUser rate limitedThe user has exceeded their rate limit
400N/AInvalid request bodyThe request body is invalid (for chat completions or embeddings)
424exhausted_modelsExhausted modelsAll specified models failed to process the request
404not_foundNot foundThe requested resource or endpoint was not found
500internal_server_errorInternal server errorAn unexpected error occurred on the server