data,
errors, or both. Always inspect the errors array even when an HTTP 200 is
returned.
Error shape
extensions. The code field is the most
useful for branching in your client.
Common cases
Authentication failures are deliberately uniform — a bad header, an unknown
token, a nonexistent account, and a token that does not belong to the account
all return the same
Unauthorized error, so they cannot be distinguished.Handling throttling
When you receive aTHROTTLED error, wait the number of seconds given in the
Retry-After header before retrying, and consider lowering query cost by
requesting smaller pages or fewer fields. See
Rate limiting.