I try to upload a simple file to azure blob storage with the below code.
When I run first-time "mu_blob" created but samplesource.txt didn't upload.
When run second-time I received this error and the file didn't upload.
ErrorCode:BlobAlreadyExists
Error:None
from azure.storage.blob import BlobClient
blob = BlobClient.from_connection_string(conn_str="*****", container_name="test", blob_name="my_blob")
with open("./SampleSource.txt", "rb") as data:
blob.upload_blob(data)
