Skip to content

Adding/importing messages to a queue fails with 'Invalid Content-Length Header' error #9099

Description

@v-xianya

Storage Explorer Version

1.44.0

Regression From

1.43.0/ previous build 20260622.2

Architecture

x64

Storage Explorer Build Number

20260623.4

Platform

All

OS Version

Windows 11 arm64/MacOS Tahoe 26.4.3 /Linux Ubuntu 22.04

Bug Description

Fail to add messages for queue with error "message": "invalid content-length header",.

Resource Types

Queues

Authentication Method

None

Connection Type

None

Steps to Reproduce

  1. Launch Storage Explorer.
  2. Expand one storage account -> Queues.
  3. Create a queue -> Click 'Add'.
  4. Click 'OK' on the Add Message dialog.
  5. Check whether succeeds to add the message.

Actual Experience

Fail to add the message.

Image

Error details:
{ "name": "Node Fetch Error", "message": "invalid content-length header", "stack": "InvalidArgumentError: invalid content-length header\n at processHeader (C:\\Program Files\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\index.js:62:39794)\n at new Request (C:\\Program Files\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\index.js:62:37091)\n at [dispatch] (C:\\Program Files\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\index.js:101:698)\n at WW.dispatch (C:\\Program Files\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\index.js:62:45433)\n at [dispatch] (C:\\Program Files\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\index.js:101:6538)\n at nz.dispatch (C:\\Program Files\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\index.js:62:45433)\n at [dispatch] (C:\\Program Files\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\index.js:101:15368)\n at Az.dispatch (C:\\Program Files\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\index.js:62:45433)\n at OK.dispatch (C:\\Program Files\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\index.js:192:2875)\n at C:\\Program Files\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\index.js:188:46469", "cause": {}, "code": "UND_ERR_INVALID_ARG" }

Expected Experience

Succeed to add the message.

Image

Additional Context

  1. This issue doesn't reproduce on build 20260622.2.
  2. This issue reproduces for Add/Import/Requeue/Move actions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🪲 regressionIssue was working in a previous version⚙️ queuesRelated to queue storage🧪 testingFound through regular testing

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions