Open
Description
Library name and version
Azure.Storage.Files.Shares
Describe the bug
When deleting a Share Snapshot using ShareClient.DeleteIfExists
the call will throw an exception with ShareSnapshotNotFound
. This should be included in the list of error codes.
Expected behavior
ShareClient.DeleteIfExists
does not throw when seeing ShareSnapshotNotFound
error code. And returns back false wrapped in the Response
Actual behavior
Throws a RequestFailedException
.
Reproduction Steps
ShareClient shareClient = shareServiceClient.GetShareClient("target").WithSnapshot("2025-02-04T10:17:47.0000000Z");
shareClient.DeleteIfExists();
Environment
n/a
Metadata
Metadata
Assignees
Labels
This issue points to a problem in the data-plane of the library.Storage Service (Queues, Blobs, Files)This issue requires a change to an existing behavior in the product in order to be resolved.Issues that are reported by GitHub users external to the Azure organization.Workflow: This issue needs attention from Azure service team or SDK team