# Error Response

#### Fields

* `status` <sup><sub>integer<sub></sup>

  the HTTP status code for this error
* `code` <sup><sub>string<sub></sup>

  the type of error
* `message` <sup><sub>string<sub></sup>

  the error's message
* `errors` [<sup><sub>validation error<sub></sup>](#validation-error-structure) <sup><sub><mark style="color:yellow;">NULLABLE<mark style="color:yellow;"><sub></sup>

  list of validation errors, only used for certain APIs

{% code title="Example Error Response" fullWidth="false" %}

```json
{
	"status": 400,
	"code": "InvalidInput",
	"message": "cannot parse Steam ID from string: clearlynotasteamid"
}
```

{% endcode %}

### Validation Error Structure <a href="#validation-error-structure" id="validation-error-structure"></a>

#### Fields

* `code` <sup><sub>string<sub></sup>

  the type of error
* `message` <sup><sub>string<sub></sup>

  the error's message
* `path` <sup><sub>string array<sub></sup>

  path to property that caused the error
* `validation` <sup><sub>string<sub></sup>

  type of validation error

#### Note

In catastrophic cases, you might not get any of these values in response. This is however unlikely.
