Wrong errorCode returned, when malformed Etag is provided for table Update/Delete operations #2013
Labels
alignment
Alignment between Azurite with Azure Storage production
table-storage
Relating to Azurite table storage implementation
Which service(blob, file, queue, table) does this issue concern?
Table
Which version of the Azurite was used?
3.23.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
npm
What's the Node.js version?
v18.14.2
What problem was encountered?
When sending malformed Etag for table operations like Update, Delete. It is noticed that
Exception is thrown with ErrorCode: InvalidOperation.
But the actual expected ErrorCode: InvalidInput.
Steps to reproduce the issue?
namespace for TableClient class is 'Azure.Data.Tables'
Etag value sent= "MalformedETag"
Below is sample code snippet to describe change involved.
If possible, please provide the debug log using the -d parameter, replacing <pathtodebuglog> with an appropriate path for your OS, or review the instructions for docker containers:
Please be sure to remove any PII or sensitive information before sharing!
The debug log will log raw request headers and bodies, so that we can replay these against Azurite using REST and create tests to validate resolution.
Have you found a mitigation/solution?
No
The text was updated successfully, but these errors were encountered: