If an error happens, we will return an errors object that contains an array of the relevant errors.

Attributes

AttributeTypeDescription
detailstringInformation about the specific error
codestringShort error code for some 4xx errors that can be handled programmatically
statusintegerHTTP 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:

CodeStatusDescription
400Bad RequestSomething about your request was malformed.
401UnauthorizedYour API key is wrong.
403ForbiddenYou do not have access to the requested endpoint.
404Not FoundThe specified resource could not be found.
406Not AcceptableThe request failed to complete properly.
500Internal Server ErrorWe had a problem with our server. Try again later and contact us if this persists.