-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
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>
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.
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