If an error happens, we will return an errors object that contains an array of the relevant errors.
Attributes
Attribute  | Type  | Description  | 
|---|---|---|
detail  | 
  | Information about the specific error  | 
code  | 
  | Short error code for some 4xx errors that can be handled programmatically  | 
status  | 
  | HTTP status code  | 
Example
{
  "errors": [
    {
      "detail": "Your API key is invalid.",
      "code": "invalid_token",
      "status": 401
    }
  ]
}Error Status Codes
The Soundstripe API uses the following HTTP statuses:
Code  | Status  | Description  | 
|---|---|---|
400  | Bad Request  | Something about your request was malformed.  | 
401  | Unauthorized  | Your API key is wrong.  | 
403  | Forbidden  | You do not have access to the requested endpoint.  | 
404  | Not Found  | The specified resource could not be found.  | 
406  | Not Acceptable  | The request failed to complete properly.  | 
500  | Internal Server Error  | We had a problem with our server. Try again later and contact us if this persists.  |