404 Not found when Downloading Blob w SAS client #19324
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Storage
Storage Service (Queues, Blobs, Files)
Bug Report
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob"
v0.5.0
column output by
dep status "github.com/Azure/azure-sdk-for-go
.go version
go version go1.19.1 darwin/amd64
Downloading Blobs with a client created with a SAS query URL fails with a 404 (BlobNotFound) error
For it to succeeded. This isn't an authentication issue as the sas query has all permissions and attempting to download with one that doesn't returns an AuthenticationFailed error
Taking a look at the response error, there's a slash before the sas query which seems to be the cause of the problem. Path from (responeError.RawReqquest.Path )=>
https://testfluxsaas.blob.core.windows.net/flux/notification.yml/?se=2022-10-11T04..
(extra slash after notification yaml).Testing on Postman
GET https://testfluxsaas.blob.core.windows.net/flux/notification.yml?se=2022-10-11T04
(successful)GET https://testfluxsaas.blob.core.windows.net/flux/notification.yml/?se=2022-10-11T04
(extra slash, BlobNotFound)The text was updated successfully, but these errors were encountered: