Incorrect/confusing error message on bad blob refrence
See original GitHub issueWe are using the WindowsAzure.Storage 7.1.3-preview in netstandard1.6 project and had some some issues when trying to upload a blob. In our case we had a bug that formatted the id for the blockblobreference badly. The id had this value xxxxxxx.[“FileNameExtension”,“.jpg”]
The error message we got back was
StorageException: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
I am not sure if this is a bug really, but i think in the case the BlockBlobReference is not formatted correctly, there should be a better error message?
The exception happend on UploadFromStreamAsync method
CloudBlockBlob blockBob = container.GetBlockBlobReference(id);
await blockBob.UploadFromStreamAsync(data);
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Error deleting blob container ' (my container name) ': details
You get this error message because there is still a reference between your blob and a disk or image. Check again using the...
Read more >Copy data to blob storage fails with ...
When copying data from cosmos DB to Blob storage I get an error: "UserErrorFailedFileOperation,'Type=Microsoft.DataTransfer.Common.Shared.
Read more >Azure Blob Storage error codes
Error code HTTP status code User message
BlobAlreadyExists Conflict (409) The specified blob already exists.
BlobNotFound Not Found (404) The specified blob does not exist.
ContainerAlreadyExists...
Read more >Blob assets | Entities | 0.50.1-preview.2
This implies that blob assets may not contain absolute references to itself, which precludes the use of internal pointers. Any information you ...
Read more >Chapter 2 Server Error Message Reference
Occurs for failure to create or copy a file needed for some operation. Possible causes: Permissions problem for source file; destination file already...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lasrol and @GuardRex
This issue should be fixed in the Corefx library by this change in an upcoming release https://github.com/dotnet/corefx/pull/11159
I’m going to close this issue as it has been resolved by the CoreFx team.