Amazon AppSync · JSON Structure

Appsync Error Response Structure

Standard error response from the AppSync API

Type: record Properties: 0
Amazon AppSyncGraphQLAPI ManagementServerless

Appsync Error Response Structure is a JSON Structure definition published by Amazon AppSync. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://api-evangelist.github.io/amazon-appsync/json-structure/appsync-error-response-structure.json",
  "title": "ErrorResponse",
  "description": "Standard error response from the AppSync API",
  "type": "record",
  "fields": {
    "message": {
      "type": "string",
      "description": "Error message"
    },
    "errorType": {
      "type": "string",
      "description": "Error type"
    }
  }
}