Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Missing or broken book images

Resolve book images that fail to load or whose blob is missing.

Runbook

Trigger / Symptom & Blast Radius

A book cover image returns HTTP 403 or 404 in Storefront or Backoffice, or Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs logs URN resolution errors. Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs stores an internal URN in Catalog DatabaseContainerv1.0.0Catalog DatabaseAuthoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publisher...Ownercatalog-experience-teamDiagramOpen docs and signs short-lived, read-only SAS URLs (1-hour default) for Catalog Blob StorageContainerv1.0.0Catalog Blob StorageAuthoritative Azure Blob Storage container owned by the Catalog bounded context for binary book cover images and media a...Ownercatalog-experience-teamDiagramOpen docs. Blast radius is limited to cover image rendering; catalog metadata and checkout remain unaffected.

Danger

Do not hand-edit the image column in Catalog DatabaseContainerv1.0.0Catalog DatabaseAuthoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publisher...Ownercatalog-experience-teamDiagramOpen docs unless executing an approved migration remediation. Manual edits bypass URN validation and can orphan blobs in Catalog Blob StorageContainerv1.0.0Catalog Blob StorageAuthoritative Azure Blob Storage container owned by the Catalog bounded context for binary book cover images and media a...Ownercatalog-experience-teamDiagramOpen docs.

Pre-Flight Check

Fetch a fresh book payload to rule out a client-cached expired SAS URL, and inspect the stored URN in Catalog DatabaseContainerv1.0.0Catalog DatabaseAuthoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publisher...Ownercatalog-experience-teamDiagramOpen docs:

Terminal window
IMAGE_URL=$(curl -sS "https://<GATEWAY_HOST>/catalog/api/v1/books/<BOOK_ID>" | jq -r '.imageUrl')
curl -I "$IMAGE_URL"
SELECT id, name, image, is_deleted FROM books WHERE id = '<BOOK_ID>';

Quick Recovery Procedure

  1. Verify whether the blob exists in Azure Blob Storage

    Extract <BLOB_NAME> (the fourth colon-delimited segment of the stored URN) and check Catalog Blob StorageContainerv1.0.0Catalog Blob StorageAuthoritative Azure Blob Storage container owned by the Catalog bounded context for binary book cover images and media a...Ownercatalog-experience-teamDiagramOpen docs:

    Terminal window
    az storage blob exists \
    --account-name <STORAGE_ACCOUNT> \
    --container-name catalog-blob \
    --name <BLOB_NAME> \
    --auth-mode login

  2. Check Managed Identity RBAC if SAS returns 403 immediately

    If a freshly generated SAS URL returns 403, confirm the Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs Managed Identity holds Storage Blob Data Contributor and Storage Blob Delegator roles on <STORAGE_ACCOUNT>.

  3. Restore or replace the missing blob

    Backup available: Restore the blob to the exact same <STORAGE_ACCOUNT>, catalog-blob container, and <BLOB_NAME> so the existing URN works without database changes.

    Blob unrecoverable: Upload a replacement cover (image/jpeg, image/png, or image/webp) through Backoffice or PUT /catalog/api/v1/books so Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs writes a new blob and updates the URN atomically.

Verification

Re-fetch the book through the API Gateway and confirm the signed SAS URL returns HTTP 200 OK:

Terminal window
IMAGE_URL=$(curl -sS "https://<GATEWAY_HOST>/catalog/api/v1/books/<BOOK_ID>" | jq -r '.imageUrl')
curl -I "$IMAGE_URL"

Expected output:

HTTP/2 200
content-type: image/webp

Rollback / Escalation

  • Rollback: Re-uploading through Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs is atomic; retain the previous image file if reverting a cover change.
  • Escalation: Escalate storage RBAC or cross-environment URN mismatch issues to Platform Engineering TeamTeamPlatform Engineering TeamPlatform team providing BookWorm's thinnest viable platform—orchestration, messaging fabric, scheduling, notifications, ...Open docs.