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

**Code:** `ContainerNotFound` · **Category:** Azure · **Seen on:** Azure

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

## 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

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/azure/storage-containernotfound-blobnotfound)
