Skip main navigation
The Brooklyn Museum

Collections: API: Response: Error





The ERROR element occurs as a result of any error by a method. All methods can potentially return an error.

Attributes

code (Required)
An internal numeric code identifying the error. Unlike error messages, whose wording may change slightly depending on context, error codes will not. (i.e. 1001 will always indicate missing parameter)
message (Required)
The message associated with the error. Note that the message may be slightly different depending on the context of the error.

Parent Elements

RESPONSE
Getting Started
Reference
Methods
Response Types