[BUG] The response The requested URI does not represent any resource on the server.
is not helpful when the blob name is null
#40926
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Storage
Storage Service (Queues, Blobs, Files)
Describe the bug
The response
The requested URI does not represent any resource on the server.
is not helpful when the blob name isnull
Exception or Stack Trace
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: com.azure.storage.blob.models.BlobStorageException: Status code 400, "
InvalidUri
The requested URI does not represent any resource on the server.To Reproduce
Pass the blob name as null
BlobClient blobClient = blobContainerClient.getBlobClient(null);
Code Snippet
BlobClient blobClient = blobContainerClient.getBlobClient(null);
Expected behavior
The blob name is null
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
If you suspect a dependency version mismatch (e.g. you see
NoClassDefFoundError
,NoSuchMethodError
or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:mvn dependency:tree -Dverbose
)Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: