Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more information to gateway error responses #8365

Closed
3 tasks done
ROBERT-MCDOWELL opened this issue Aug 22, 2021 · 3 comments
Closed
3 tasks done

Add more information to gateway error responses #8365

ROBERT-MCDOWELL opened this issue Aug 22, 2021 · 3 comments
Labels
exp/intermediate Prior experience is likely helpful kind/enhancement A net-new feature or improvement to an existing feature P2 Medium: Good to have, but can wait until someone steps up topic/gateway Topic gateway

Comments

@ROBERT-MCDOWELL
Copy link

Checklist

  • My issue is specific & actionable.
  • I am not suggesting a protocol enhancement.
  • I have searched on the issue tracker for my issue.

Description

is it possible to show if the hash does not point to any object like "hash deleted since no pin after 24h"
or something like that? it will improve the user experience thanks

@ROBERT-MCDOWELL ROBERT-MCDOWELL added the kind/enhancement A net-new feature or improvement to an existing feature label Aug 22, 2021
@welcome
Copy link

welcome bot commented Aug 22, 2021

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@guseggert guseggert added P2 Medium: Good to have, but can wait until someone steps up exp/intermediate Prior experience is likely helpful labels Aug 5, 2022
@guseggert
Copy link
Contributor

So your example text isn't technically correct, but we would like to improve the error message on 404 to include more information about why the request failed.

@guseggert guseggert changed the title Show 404 error with reason? Add more information to gateway error responses Aug 5, 2022
@guseggert guseggert added the topic/gateway Topic gateway label Aug 5, 2022
@lidel
Copy link
Member

lidel commented Mar 21, 2024

Some work on making errors more friendly was done in ipfs/boxo#298
If more needs to be done, feel free to open a new issue with suggested UX.

@lidel lidel closed this as completed Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exp/intermediate Prior experience is likely helpful kind/enhancement A net-new feature or improvement to an existing feature P2 Medium: Good to have, but can wait until someone steps up topic/gateway Topic gateway
Projects
None yet
Development

No branches or pull requests

3 participants