Figma · Schema

ErrorResponsePayloadWithError

A response indicating an error occurred.

CollaborationDesignGraphicsInterfacesPrototypesPrototypingUI/UX

Properties

Name Type Description
error boolean For erroneous requests, this value is always `true`.
status number Status code
message string A string describing the error
View JSON Schema on GitHub

JSON Schema

figma-component-sets-error-response-payload-with-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ErrorResponsePayloadWithError",
  "type": "object",
  "description": "A response indicating an error occurred.",
  "properties": {
    "error": {
      "type": "boolean",
      "description": "For erroneous requests, this value is always `true`."
    },
    "status": {
      "type": "number",
      "description": "Status code"
    },
    "message": {
      "type": "string",
      "description": "A string describing the error"
    }
  }
}