[BUG] BlobContainerClient.CreateIfNotExistsAsync() returns null #17710
Labels
Client
This issue points to a problem in the data-plane of the library.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Service Attention
Workflow: This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
Describe the bug
Customer reported bug from HaTS survey
"Some very obvious issues that need to be fixed. For example, in the Blob Storage SDK, BlobContainerClient.CreateIfNotExistsAsync() returns null if the container already exists, causing a null reference exception if the result is assigned to a variable (Response is not null friendly). This somewhat defeats the purpose of the function."
Expected behavior
What is the expected behavior?
Actual behavior (include Exception or Stack Trace)
What is the actual behavior?
To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)
Environment:
dotnet --info
output for .NET Core projects): [e.g. Azure AppService or Windows 10 .NET Framework 4.8]The text was updated successfully, but these errors were encountered: