question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

InvalidHeaderValue x-ms-version 2020-04-08

See original GitHub issue

Describe the bug When we try to interact with a Data Lake Gen2 Storage Account where HNS is enabled we receive the error. The same function is working fine with a Storage account where HNS is disabled. When we revert to version 12.0.0 the same function (e.g.: DataLakeFileSysteClient.exists()) is working.

To Reproduce getClient() { if (!this.client) { this.client = new DataLakeServiceClient( https://${this.accountName}.dfs.core.windows.net, this.credentials ); } return this.client; }

let fileSystem = this.getClient().getFileSystemClient(this.fileSystemName); let exists = await fileSystem.exists();

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ljian3377commented, Jan 29, 2021

@nulltoken It should be working now. Could you retry?

1reaction
ljian3377commented, Jan 29, 2021

@nulltoken The server hit is not rolled-out with the right configuration. Already notified the service team to fix it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure File Storage URL in browser showing InvalidHeaderValue
The error you received indicates that you are missing x-ms-version header. But once you set it, you will receive another error if you...
Read more >
Versioning for the Azure Storage services | Microsoft Learn
If a request has a valid x-ms-version header, the storage service uses the specified version. All requests to the Table and Queue services...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found