ErrorResponse

Standard OGC API error response.

Federal GovernmentGeologicalEarth ScienceNatural ResourcesEarthquakeWaterHydrology

Properties

Name Type Description
code string Error code.
description string Human-readable error description.
View JSON Schema on GitHub

JSON Schema

usgs-water-data-api-error-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/u-s-geological-survey/refs/heads/main/json-schema/usgs-water-data-api-error-response-schema.json",
  "title": "ErrorResponse",
  "description": "Standard OGC API error response.",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Error code.",
      "example": "InvalidParameter"
    },
    "description": {
      "type": "string",
      "description": "Human-readable error description.",
      "example": "Invalid value for parameter bbox."
    }
  }
}