Object

Error

Information about an error that occurred while processing a request.

Properties

code
string
(Required)

The code for this error. For possible values, see HTTP Status Codes.

detail
string

A long description of the problem; may be localized.

id
string
(Required)

A unique identifier for this occurrence of the error.

A object containing references to the source of the error. For possible members, see Source object.

status
string
(Required)

The HTTP status code for this problem.

title
string
(Required)

A short description of the problem; may be localized.

Discussion

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

Topics

Related Objects

object Error.Source

The Source object represents the source of an error.

See Also

Handling Errors

HTTP Status Codes

Reference error codes returned by the Apple Music API.