Figma · Schema

ErrorResponse

Standard error response from the Figma API.

CollaborationDesignGraphicsInterfacesPrototypesPrototypingUI/UX

Properties

Name Type Description
error boolean Always true for error responses.
status integer The HTTP status code.
message string A human-readable description of the error.
View JSON Schema on GitHub

JSON Schema

figma-rest-error-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ErrorResponse",
  "type": "object",
  "description": "Standard error response from the Figma API.",
  "properties": {
    "error": {
      "type": "boolean",
      "description": "Always true for error responses."
    },
    "status": {
      "type": "integer",
      "description": "The HTTP status code."
    },
    "message": {
      "type": "string",
      "description": "A human-readable description of the error."
    }
  }
}