eToro · Schema

PriceAlertErrorResponse

Error response from the price alerts service

Social TradingCopy TradingInvestingMarket DataPortfolio-ManagementFintechTradingStocksCryptocurrencyETFs

Properties

Name Type Description
success boolean Indicates the request failed
error object
View JSON Schema on GitHub

JSON Schema

PriceAlertErrorResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/PriceAlertErrorResponse.json",
  "title": "PriceAlertErrorResponse",
  "type": "object",
  "description": "Error response from the price alerts service",
  "required": [
    "success",
    "error"
  ],
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Indicates the request failed",
      "example": false
    },
    "error": {
      "type": "object",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string",
          "description": "Machine-readable error code for programmatic handling",
          "example": "VALIDATION_ERROR"
        },
        "message": {
          "type": "string",
          "description": "Human-readable error message",
          "example": "Invalid request parameters"
        },
        "details": {
          "type": "string",
          "description": "Additional context about the error",
          "example": "Field 'targetPrice' must be greater than 0"
        },
        "field": {
          "type": "string",
          "description": "The specific field that caused the error (if applicable)",
          "example": "targetPrice"
        }
      }
    }
  }
}