SteamVault
Documentation menu

Errors

Errors always come back as JSON, with an error and, most of the time, a message explaining what went wrong.

StatusWhenWhat to do
400A filter value doesn't make sense, like an unknown sort field or a year in the futureRead message — it says what's wrong
401The token is missing or invalidCheck the Authorization header (Authentication)
404The game doesn't existCheck the app ID
422An unknown parameter or an invalid valueRead errors — it lists each problem by parameter
429You used all the requests in your plan for this cycleWait for the reset (Request limits)

Examples

400 — a value that doesn't make sense

{
  "error": "Bad Request",
  "message": "Invalid sort field. Allowed fields are: name, developer, publisher, release_date, ..."
}

404 — game not found

{ "error": "Not Found", "message": "No game found with ID 1" }

422 — invalid parameters

{
  "error": "Validation Error",
  "message": "Some parameters are invalid",
  "errors": {
    "develper": ["The parameter 'develper' does not exist. Did you mean 'developer'?"],
    "per_page": ["The per page field must not be greater than 100."]
  }
}