ContainerNotFound 🔷 Azure

Azure Storage: ContainerNotFound / BlobNotFound — The specified container (or blob) does not exist

The container or blob path doesn’t exist in that storage account.

Seen on: Azure

Meaning

Container names must be lowercase; blob names are case-sensitive and include the full virtual path. Using the wrong account (e.g. Azurite vs cloud) or forgetting to create the container first are common.

Common causes

  • Container not created yet
  • Case mismatch in blob path
  • Wrong storage account/connection string (dev vs prod, Azurite)
  • Blob deleted (soft delete)

⚡ Quick fix

  1. Create the container (CreateIfNotExists)
  2. Check the exact blob path and case
  3. Confirm the account in the connection string

Detailed fix by platform

Azure CLI

  1. bash
    az storage container list --account-name stapp --auth-mode login --query "[].name"
    az storage blob list --account-name stapp -c data --prefix reports/ --auth-mode login --query "[].name"

How to diagnose

  1. Account — Which one?
  2. Container — Exists?
  3. Path — Exact blob name

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.