Errors

Here you can view the error codes and on the Player Elections Rest API.

Error Codes and Messages

This section contains a list of common error responses by their error codes. Here is an example of what a response might look like:

{
  "error": {
    "code": 401,
    "message": "You are no longer authorized, did you change your API token?"
  }
}

401 Unauthorized (API Key Error)

Error Code: 401 Message: "You are no longer authorized, did you change your API token?"


401 Unauthorized (Basic Authentication Required)

Error Code: 401 Message: "You are not authorized, did you provide the correct credentials?"


404 Cannot Find

Error Code: 404 Message: "Cannot find <requested resource>"


Last updated

Was this helpful?