Best Buy · JSON Structure

Products Api Error Response Structure

Error response returned when a request fails.

Type: object Properties: 3
Fortune 100RetailConsumer ElectronicsE-CommerceProductsStores

ErrorResponse is a JSON Structure definition published by Best Buy, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

status error message

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/best-buy/refs/heads/main/json-structure/products-api-error-response-structure.json",
  "name": "ErrorResponse",
  "description": "Error response returned when a request fails.",
  "type": "object",
  "properties": {
    "status": {
      "type": "int32",
      "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."
    }
  }
}