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.

`new Request` bad type

See original GitHub issue

When creating a request, it seems like the native Request type is used. So when I run new Request(url, options), the options type accepts properties that Cloudflare Workers doesn’t support: mode, credentials, cache and integrity (maybe more?)

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
probablykaspercommented, Nov 24, 2022

I think it might be caused by the Svelte VSCode extension, so filed an issue there for now: https://github.com/sveltejs/language-tools/issues/1733

Thanks for the help on figuring it out !! ❤️

0reactions
penalosacommented, Nov 23, 2022

Would you be able to set up a reproduction repository?

Read more comments on GitHub >

github_iconTop Results From Across the Web

400 Bad Request - HTTP - MDN Web Docs
The HyperText Transfer Protocol (HTTP) 400 Bad Request response status code indicates that the server cannot or will not process the request ......
Read more >
How to Fix a 400 Bad Request Error (Causes and Fixes) - Kinsta
The 400 Bad Request error indicates that the server cannot or process the request due to a client error. Read about the common...
Read more >
How to Fix a 400 Bad Request Error: 8 Easy Methods
One of the most common causes of HTTP status 400 bad request error is a wrong URL. This may include a mistyped URL,...
Read more >
How to Fix the 400 Bad Request Error - Lifewire
The 400 Bad Request error means that the request you sent to the website server to view the page was somehow incorrect.
Read more >
400 BAD request HTTP error code meaning? - Stack Overflow
A 400 means that the request was malformed. In other words, the data stream sent by the client to the server didn't follow...
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