Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Example API Error Reponses
status code 401

{
  "error": {
    "type": "invalid_request_error",
    "message": "Authentication to the API occurs via HTTP Basic Auth"
  }
}
status code 400

{
  "error": {
    "type": "invalid_request_error",
    "message": "Invalid region provided (must be US two letter state)",
    "parameter": "region"
  }
}
status code 500

{
  "error": {
    "type": "api_error",
    "message": "Temporary API disruption"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment