ErrorMessage
An object that contains information about one or more errors that the Toast platform encountered when processing your API request. For more information, see [API responses and errors in the _Toast Developer Guide_](https://doc.toasttab.com/doc/devguide/apiResponsesAndErrors.html).
Properties
| Name | Type | Description |
|---|---|---|
| status | integer | The HTTP status code of the response. |
| code | integer | A numeric identifier for the error condition. |
| message | string | A description of the error condition. |
| messageKey | string | Reserved for future use. |
| fieldName | string | Reserved for future use. |
| link | string | The URL of a resource that provides more information about the error condition. |
| requestId | string | The unique identifier of the HTTP request that your client sent to the Toast API. |
| developerMessage | string | Additional detail about the error condition, if it is available. |
| errors | array | A JSON array of `ErrorMessage` objects. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ErrorMessage",
"title": "ErrorMessage",
"type": "object",
"description": "An object that contains information about one or more errors that the\nToast platform encountered when processing your API request. For more\ninformation, see [API responses and errors in the _Toast Developer\nGuide_](https://doc.toasttab.com/doc/devguide/apiResponsesAndErrors.html).\n",
"properties": {
"status": {
"type": "integer",
"format": "int32",
"description": "The HTTP status code of the response.\n"
},
"code": {
"type": "integer",
"format": "int32",
"description": "A numeric identifier for the error condition.\n"
},
"message": {
"type": "string",
"description": "A description of the error condition.\n"
},
"messageKey": {
"type": "string",
"description": "Reserved for future use.\n"
},
"fieldName": {
"type": "string",
"description": "Reserved for future use.\n"
},
"link": {
"type": "string",
"description": "The URL of a resource that provides more information about the error\ncondition.\n"
},
"requestId": {
"type": "string",
"description": "The unique identifier of the HTTP request that your client sent to\nthe Toast API.\n"
},
"developerMessage": {
"type": "string",
"description": "Additional detail about the error condition, if it is available.\n"
},
"errors": {
"type": "array",
"description": "A JSON array of `ErrorMessage` objects.\n",
"items": {
"$ref": "#/components/schemas/ErrorMessage"
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/toast-errormessage"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.