albertsons · Schema

Error Response

Standard error response object.

GroceryRetailRetail MediaAdvertisingCampaignsAnalyticsConsumer GoodsFoodPharmacy

Properties

Name Type Description
error string Error code identifier.
message string Human-readable error message.
statusCode integer HTTP status code.
View JSON Schema on GitHub

JSON Schema

retail-media-api-error-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/albertsons/refs/heads/main/json-schema/retail-media-api-error-response-schema.json",
  "title": "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
    }
  }
}