Esri's Geotrigger Service is replacing Geoloqi! Learn More | FAQ

Error Codes

Successful API calls will return a 200 OK HTTP header. Errors will produce a different HTTP response code, and will also contain descriptive error messages. You can check for an error by looking at either the HTTP header, or by checking for the presence of an error key in the object returned.

Example API Method Error Message

HTTP/1.1 409 Conflict

{
  "error_code": 409,
  "error": "username_exists",
  "error_description": "The requested username is not available"
}

Example OAuth 2.0 Error Message

HTTP/1.1 400 Bad Request

{
  "error_code": 400,
  "error": "invalid_request",
  "error_description": "Auth token found in GET or POST when token present in header"
}