Appium · JSON Structure

Appium Server Error Response Structure

WebDriver protocol error response

Type: object Properties: 1
AndroidCross-PlatformiOSMobile TestingOpen SourceOpenJS FoundationTest AutomationWebDriver

ErrorResponse is a JSON Structure definition published by Appium, describing 1 property. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

value

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/appium/refs/heads/main/json-structure/appium-server-error-response-structure.json",
  "name": "ErrorResponse",
  "description": "WebDriver protocol error response",
  "type": "object",
  "properties": {
    "value": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string",
          "description": "Error code",
          "example": "no such element"
        },
        "message": {
          "type": "string",
          "description": "Human-readable error message",
          "example": "An element could not be located on the page using the given search parameters."
        },
        "stacktrace": {
          "type": "string",
          "description": "Stack trace for debugging"
        }
      }
    }
  }
}