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.

Incorrect header check message if the bearer is too long (more then 182)

See original GitHub issue
  • VSCode Version: 1.42.1
  • OS Version: Windows 10 1903
  • REST Client Version: 0.23.1

Steps to Reproduce:

  1. Create the following file:
@contentType = application/json
@token = <a very large token, for example like Home Assistant does>

### Get Services
GET https://<home assistant url>/api/services
Content-Type: {{contentType}}
Authorization: Bearer {{token}}
  1. Run the request, an incorrect header check pops up and no request is done.

What I’ve seen is that if I remove one character from the token (it was 183 length before, so now 182), then the request is fired but of course ends in unauthorized.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Huachaocommented, Apr 18, 2020

@quammy this should work for you

@Roemer does it work if you add Accept-Encoding: gzip in the request header

0reactions
quammycommented, Apr 18, 2020

@Huachao yep! Sorry for missing that… Thanks for your quick reply and for a great extension! Cheers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

zlib.error: Error -3 while decompressing: incorrect header check
You have this error: zlib.error: Error -3 while decompressing: incorrect header check. Which is most likely because you are trying to check headers...
Read more >
rest api - Error Salesforce data query
I am trying the get data from Salesforce using simple_salesforce python package. But I am getting Response content: [{'message ...
Read more >
How To Fix HTTP Error 431 Request Header Fields Too Large
Learn how to fix the HTTP Error 431 Request Header Fields Too Large message using four simple troubleshooting tips.
Read more >
CICS TS for z/OS: Using Web Services with CICS - IBM
You can configure a CICS pipeline to have more than one SOAP message handler. • The CICS-provided SOAP message handlers can be configured...
Read more >
System Error Messages For Cisco SD-WAN, Cisco IOS XE ...
The Cisco implementation of TCP header compression is an adaptation of a ... crypto accelerator, or with an invalid peer IP address then...
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