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.

Failed to parse URL from [object Object]

See original GitHub issue

I just tried to upgrade to v2 and hit /, which I have mapped to a 404 (but any of my previously working endpoints fail as well). I have no idea why this is failing now.

My code is dead simple:

2022-01-07 12-06-07

The error is:

2022-01-07 12-02-55

Seems like there are two bits here… a problem with miniflare and giving feedback to your upstream dependency undici to display a more helpful error than trying to blindly concat a string and an object.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16

github_iconTop GitHub Comments

1reaction
lookfirstcommented, Jan 14, 2022

Confirmed with my production worker. Thanks!

1reaction
mrbbotcommented, Jan 14, 2022

Just fixed! 👍 That’s exactly what I did. 🙂 Thanks @merceyz for explaining this, that does make sense.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reactjs - TypeError: Failed to execute 'fetch' on 'Window ...
It looks like you have obfuscated the URL that the error message says is the problem. We can't tell what the problem is...
Read more >
Failed to execute 'fetch' on 'Window': Failed to parse URL from ...
Failed to execute 'fetch' on 'Window': Failed to parse URL from http://localhost:undefined,error when clicked on logic app standard workflow ...
Read more >
SyntaxError: JSON.parse: bad parsing - JavaScript | MDN
JSON.parse() parses a string as JSON. This string has to be valid JSON and will throw this error if incorrect syntax was encountered....
Read more >
Failed to parse field of type in document with id ''. - Opster
In a nutshell, this error just means that you provided a value which could not be parsed by Elasticsearch for the field's type...
Read more >
Errors | Node.js v19.3.0 Documentation
Error objects capture a "stack trace" detailing the point in the code at ... has an additional property 'input' that contains the URL...
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