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.

Include permalink in error message when replied to message fails to load

See original GitHub issue

Your use case

What would you like to do?

When a reply fails to load whether it be network or code related, include a permalink or at least event_id for the message it’s trying to load so it’s possible to reference and find the event in question.

Currently, the error message just says the following which has no details.

Unable to load event that was replied to, it either does not exist or you do not have permission to view it.

Why would you like to do it?

It’s not easy to find the message it’s trying to reference yourself or debug the situation. Just have to View source and dive into the gritty details.

How would you like to achieve it?

Add a permalink to the event in question. The event probably exists if someone is trying to reference it.

These kind of code or network fail cases are unlimited and cannot made to be impossible to encounter. We should strive to improve the fail scenario which could be a variety of solutions:

  1. Just the event_id to reference. The bare minimum that should be available. “What failed to load?”
  2. Permalink so you can try seeing the message for yourself in whatever manner. This solves the problem in code and network fail scenarios and makes it convenient to see the content you were missing.
  3. A retry button to try reloading the message when conditions are better. But this one is susceptible to code bugs like the one explained at the top of this comment so I’m not in favor of it.
  4. Other ideas

Have you considered any alternatives?

No response

Additional context

Related to:

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
turt2livecommented, Mar 25, 2022

it might be possible to add a developer-only button of some kind if we’re not certain it’d be safe for the general population. Like https://github.com/matrix-org/matrix-react-sdk/pull/7537 but for replies.

1reaction
t3chguycommented, Mar 24, 2022

@MadLittleMods the specific bug you are hitting is https://github.com/vector-im/element-web/issues/21543 - if you could drop repro steps there that would be swell.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WordPress Permalinks Not Working: How to Fix Broken Links
The most common issue you'll notice with broken permalinks is 404: Not Found error in WordPress when accessing a page on your website....
Read more >
Error message: Failed to load plugin url - WordPress.org
Hi. As the title says, this error message turns up when I try to write new posts.. This happened compeletely randomly, I havent...
Read more >
I get error message when clicking on hyperlink in Outlook ...
When clicking on a hyperlink in an Outlook message, I get the following message (every time!) General Failure. The URL was (URL listed)...
Read more >
How To Fix "Failed To Load Resource" Error In WordPress
If the missing resource is a WordPress plugin file, then you will need to reinstall the plugin. For more details, see our step...
Read more >
Failed to Load Resource: The Server Responded With a ...
The error code that states failed to load resource: the server responded with a status of ... An example, where you can have...
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