Error Handling

GMS API method call returns HTTP code 200 OK on success or HTTP code 4xx/5xx on error:

HTTP CodeMeaning
200OK – Request was successfully processed
400Bad Request – Your request is invalid. Please check request format and parameters.
401Unauthorized – Your API key is wrong
403Forbidden – Not enough rights to process the request due to GMS API firewall.
404Not Found – The specified endpoint not found
50xInternal Server Error – We had a problem with our server (might be 500, 502, 503 etc). Please try again later.

HTTP error code gives generic information about error reason, but usually a JSON object is returned also with more details and API error code. Read more in API Errors section.