Best Buy · Schema

ErrorResponse

Error response returned when a request fails.

Fortune 100RetailConsumer ElectronicsE-CommerceProductsStores

Properties

Name Type Description
status integer HTTP status code.
error string Error type or code.
message string Human-readable description of the error.
View JSON Schema on GitHub

JSON Schema

stores-api-error-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/best-buy/refs/heads/main/json-schema/stores-api-error-response-schema.json",
  "title": "ErrorResponse",
  "description": "Error response returned when a request fails.",
  "type": "object",
  "properties": {
    "status": {
      "type": "integer",
      "description": "HTTP status code.",
      "example": 400
    },
    "error": {
      "type": "string",
      "description": "Error type or code.",
      "example": "Bad Request"
    },
    "message": {
      "type": "string",
      "description": "Human-readable description of the error.",
      "example": "Invalid query parameter provided."
    }
  }
}