New Relic · Schema

ErrorResponse

Error response

AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

Properties

Name Type Description
success boolean
error string Error message
errors array List of validation errors
View JSON Schema on GitHub

JSON Schema

new-relic-errorresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ErrorResponse",
  "title": "ErrorResponse",
  "type": "object",
  "description": "Error response",
  "properties": {
    "success": {
      "type": "boolean",
      "example": false
    },
    "error": {
      "type": "string",
      "description": "Error message",
      "example": "example_string"
    },
    "errors": {
      "type": "array",
      "description": "List of validation errors",
      "items": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          },
          "timestamp": {
            "type": "string"
          }
        }
      },
      "example": [
        {
          "error": "example_string",
          "timestamp": "example_string"
        }
      ]
    }
  }
}