Skip to content

Invalid "visibilitytimeout" parameters return no error code #2083

Closed

Description

Which service (blob, file, queue, table) does this issue concern?

Queue

Which version of the Azurite was used?

3.2.4

Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

Visual Studio

What's the Node.js version?

18.16.0

What problem was encountered?

Passing a too-large visibilitytimeout parameter value to the "Receive Message" endpoint returns a 400 but no error code.

Steps to reproduce the issue?

See log, which tries using visibility timeouts 0 and 691200: azurite.log

The former contains the header x-ms-error-code: OutOfRangeQueryParameterValue, the latter contains no x-ms headers. Compare lines 58-69 to 105-110.

Have you found a mitigation/solution?

I suspect that we should remove the maximum checks here, or handle the errors differently:

InclusiveMaximum: 604800,

InclusiveMaximum: 604800,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

alignmentAlignment between Azurite with Azure Storage productionquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions