albertsons · JSON Structure

Retail Media Api Error Response Structure

Standard error response object.

Type: object Properties: 3
GroceryRetailRetail MediaAdvertisingCampaignsAnalyticsConsumer GoodsFoodPharmacy

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

Properties

error message statusCode

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/albertsons/refs/heads/main/json-structure/retail-media-api-error-response-structure.json",
  "name": "Error Response",
  "description": "Standard error response object.",
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Error code identifier.",
      "example": "UNAUTHORIZED"
    },
    "message": {
      "type": "string",
      "description": "Human-readable error message.",
      "example": "Invalid or missing bearer token."
    },
    "statusCode": {
      "type": "integer",
      "description": "HTTP status code.",
      "example": 401
    }
  }
}