Errors
Last updated
Last updated
gospace AI uses standard HTTP response codes to signal the success or failure of an API request. Typically:
Codes in the 2xx range signify success.
Codes in the 4xx range suggest that the request failed due to the provided information. This could be due to reasons like missing a required parameter, a model training failure, etc.
Codes in the 5xx range imply a server-side error with Gospace AI's systems, which are quite rare.
Certain 4xx errors that could be programmatically addressed, such as insufficient training data or unsupported model type, include an error code offering a brief explanation of the reported error.
Having issues? check the logs
200 - OK
The request succeeded.
400 - Bad Request
There's an issue with the data in the request.
401 - Unauthorised
No valid API key provided.
403 - Forbidden
The API key doesn't have permission.
404 - Not Found
The requested resource doesn't exist.
429 - Too Many Requests
Too many requests hit the API too quickly.
500, 502, 503, 504 - Server Errors
Oops thats us...