Azurite doesn’t support error "CannotVerifyCopySource" in Copy Blob From URL operation on blob #634
Labels
alignment
Alignment between Azurite with Azure Storage production
blob-storage
bug
Something isn't working
NewArch
Tracking issues for NewArch
Error Description:
In Azure, it will return error "CannotVerifyCopySource" when use Copy Blob From URL operation with invalid blob url.
But in Azurite, it copy blob successfully in this case.
Azure error is shown as following:
To Reproduce
Error Track
The reason maybe is that the copyFromURL handler method lacks the error handler for "CannotVerifyCopySource"
The copyFromURL handler method is defined in https://github.com/Azure/Azurite/blob/master/src/blob/handlers/BlobHandler.ts#L801
The startCopyFromURL handler method have the error handler which is defined in
https://github.com/Azure/Azurite/blob/master/src/blob/handlers/BlobHandler.ts#L647
Expected Behavior
When use Copy Blob From URL operation with invalid blob url, it doesn't copy blob successfully and return error "CannotVerifyCopySource" in Azurite.
@jongio for notification.
The text was updated successfully, but these errors were encountered: