Skip to main content
The API answers with an HTTP status code. Only a validation error has a JSON body; the others have a short plain-text body. Check the status first, and parse the body as JSON only for a validation error. Each operation’s page lists the errors it can return.

Validation errors

When a query parameter fails validation, the body lists each problem with the parameter it concerns:
path names the parameter, and message says what’s wrong with it. Fix every listed parameter before you retry.