Skip to content

HTTP status code

MaaS API HTTP status code

Status Code Meaning Possible Cause
400 Bad Request Incorrect or erroneous request format, or an anomaly occurred during the request process
401 Unauthorized Authentication failed; API key is invalid or authentication information was not provided
403 Forbidden IP address not on the whitelist
404 Not Found The requested resource does not exist; the model is nonexistent or does not match
409 Conflict Resource modification anomaly
429 Too Many Requests Request frequency exceeds the limit; surpassing API request rate limits
500 Internal Server Error Internal server error; temporary server issues or unexpected errors
503 Service Unavailable Service unavailable; temporarily overloaded or undergoing maintenance
504 Gateway Timeout Gateway timeout; server response time exceeds acceptable limits

Possible Errors for MaaS API Status Code 400

Meaning Possible Cause
Bad Request The response was filtered
NO_BALANCER_ERROR No available load balancer
NO_PROVIDER_ERROR No available provider
MODEL_TYPE_NOT_FOUND Model type not found
AI_PASSAGEWAY_GROUP_IS_EMPTY_ERROR Passageway group does not exist
AI_IMAGE_QUALITY_ERROR Specifically for text-to-image models; invalid quality input for the image
AI_IMAGE_SIZE_ERROR Specifically for text-to-image models; invalid size input for the image
NO_PASSAGEWAY No available passageway
NO_ENDPOINT No available endpoint