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.

[bug] mediaURL 404 (Not Found)

See original GitHub issue

When checking the logs of the browser console, I noticed one error that gets reported there:

index.html:104 GET http://127.0.0.1:8080/[[mediaURL]] 404 (Not Found)

There are many more placeholder values in index.html that are similar to [[mediaURL]]. However somehow only this instance in line 104 is causing an error.

You can also confirm this in the demo project.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Michadeliccommented, Jan 28, 2021

I experimented a bit with Handlebars and found this implementation a lot better than the custom templating, thx for the hint

0reactions
spiercommented, Jan 28, 2021

Kind of cool that that also fixed this issue as a side effect 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

MEDIA_URL Page 404 Error Django - Stack Overflow
If you visit the full file path like 127.0.0.1/media/file.jpg , Django will render the file instead of raising a 404 error.
Read more >
Media Items all return 404 - Sitecore Stack Exchange
Looking at the error message your media item URLs are being generated as /media . The default settings in Sitecore 8.2 are to...
Read more >
404 on media URLs after upgrade to 7.6 - Our Umbraco
I'm now getting 404 errors on all the media library URLs, even though there is a valid media URL written out to the...
Read more >
Media - WhatsApp Business Platform Cloud API
If media fails to download, you will receive a 404 Not Found response code. In that case, we recommend you try to retrieve...
Read more >
Error 404 not found - What does it mean & how to fix it! - IONOS
Your browser displays the error message 404 Not Found instead the desired web page? The solution is easy - an HTTP 404 error...
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