Skip to content

BlobNotFound Exception with 200/204 response code #47379

@siyad-dt

Description

@siyad-dt

BlobNotFound Exception with 200/204 response code

When the consumer uses the SDK to update or delete an existing blob, we receive a 200 response code; however, the trace reveals a BlobNotFound exception.
Apart from this, there is no other relevant information about the issue in the trace.

Exception

<?xml version="1.0" encoding="utf-8"?>
<Error><Code>BlobNotFound</Code><Message>The specified blob does not exist.
RequestId:1dd5f144-f01e-0080-6c7f-5a9cf71e41b7
Time:2025-11-21T00:40:43.9242278Z</Message></Error>
Image

To Reproduce
This is not reproducible from our end. It's happening to us in production, though.
Whenever this occurs, we see the com.microsoft.aad.msal4j.MsalClientException with a `token not found in the cache' error.

Image

Code Snippet
Add the code snippet that causes the issue.

Expected behavior
When the response code is 200, we don't want to see this exception. This is creating false positives in our exception monitors.

Setup (please complete the following information):

  • OS: macOS
  • IDE: IntelliJ
  • Java version: 21
  • App Server/Environment: Netty

Information Checklist

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added

Metadata

Metadata

Assignees

Labels

StorageStorage Service (Queues, Blobs, Files)bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions