error property when a request fails.
When using OAuth 2.0 authentication, errors with HTTP status 400, 401, or 403 follow a different format. See the Error responses with OAuth section in Authentication.
Authentication and authorization errors
These errors include the appropriate HTTP status code in the response:HTTP 401 - The restaurant was not found
HTTP 401 - The provided API key is not valid
HTTP 401 - Client Id/Secret authentication failed
HTTP 403 - API access is not enabled for the restaurant
HTTP 403 - Permissions do not cover the required scope for the operation. Additional details are provided in the message field
HTTP 403 - The API client cannot access the specified resource
Other errors
These errors return HTTP 200 with error details in the response body:The requested action is not valid
The data did not pass validation. Details are provided in the message field
Required parameters are missing
Exceeded the per-minute call limit
A server-side error occurred. Details are provided in the message field