---
title: Error
framework: applemusicapi
role: symbol
role_heading: Object
path: applemusicapi/error
---

# Error

Information about an error that occurred while processing a request.

## Declaration

```data
object Error
```

## Properties

code: The code for this error. For possible values, see HTTP Status Codes. detail: A long, possibly localized, description of the problem. id: A unique identifier for this occurrence of the error. source: An object containing references to the source of the error. For possible members, see Source object. status: The HTTP status code for this problem. title: A short, possibly localized, description of the problem.

## Mentioned in

Handling Requests and Responses HTTP Status Codes

## Discussion

Discussion If a request is unsuccessful, the errors in the response may contain an Error object for each problem that occurred.

## Topics

### Related Objects

- [Error.Source](applemusicapi/error/source-data.dictionary.md)

## See Also

### Handling Errors

- [HTTP Status Codes](applemusicapi/http-status-codes.md)
