Open zzhxiaofeng opened 3 years ago
Hi @zzhxiaofeng Thanks for this. We should update Queue to use 404 instead of 403.
FYI. Even for Azure Storage cloud. The blob service error code may diff between 404 or 403 for different storage account types. For Queue/Table, only 404.
azsdk-azurite
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Error Description: The error returned in Azurite is inconsistent with the one in Azure when use unauthorized queueClient to perform operation. In Azure, the error is shown as following: In Azurite, the error is shown as following: Note: Azurite doesn't define error
ResourceNotFound
.To Reproduce The demo code is shown as following:
Expected Behavior The error returned in Azurite is consistent with the one in Azure when use unauthorized queueClient to perform operation.
@jongio for notification.