You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTTP/1.1 416 The range specified is invalid for the current size of the resource.
Content-Length: 249
Content-Type: application/xml
Content-Range: bytes */0
Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: 091c4acf-b01e-0045-64f3-b846c2000000
x-ms-client-request-id: b5093669-485f-496f-9eda-b375dd8b65d3
x-ms-version: 2019-12-12
x-ms-error-code: InvalidRange
Date: Fri, 07 Jun 2024 15:57:39 GMT
<?xml version="1.0" encoding="utf-8"?><Error><Code>InvalidRange</Code><Message>The range specified is invalid for the current size of the resource.
RequestId:091c4acf-b01e-0045-64f3-b846c2000000
Time:2024-06-07T15:57:39.2526413Z</Message></Error>
Have you found a mitigation/solution?
No
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue!
We will look into how to fix it.
Azurite welcome contribution!
It would be great if you could raise a PR to fix it!
The fix might can be: adding code to the following place, to report error when "x-ms-rage" end is bigger than blob length and blob length is 0 :
Block & Append:
Which service(blob, file, queue, table) does this issue concern?
blob
Which version of the Azurite was used?
v3.30.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
npm
What's the Node.js version?
v20.10.0
What problem was encountered?
When downloading a byte range from a 0-sized blob, Azurite is successful (206), while a real storage account returns an error (416)
Steps to reproduce the issue?
azurite.log shows:
Azurite response
Azure response in same scenario
Have you found a mitigation/solution?
No
The text was updated successfully, but these errors were encountered: