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

Surface API errors (and success) #24

Closed
3 tasks
j08lue opened this issue Feb 25, 2025 · 0 comments
Closed
3 tasks

Surface API errors (and success) #24

j08lue opened this issue Feb 25, 2025 · 0 comments

Comments

@j08lue
Copy link
Member

j08lue commented Feb 25, 2025

We have designs for surfacing errors that occur during API interaction:

Image

Recently, validation error messages from STAC FastAPI have been improved:

We should surface any API errors in the application such that they are helpful for the user to find out what they did wrong, in particular validation errors.

Dependencies

  • Our reference deployment in EOEPCA needs to update STAC FastAPI >= 3.0.4 to get the improved validation error messages.

Acceptance criteria

  • All STAC API errors surface
  • Validation errors are formatted in a descriptive way, if possible
  • While we are at it, also show a notification when an API transaction was successful, as indicated in the designs
@j08lue j08lue added this to the MVP milestone Feb 25, 2025
@j08lue j08lue changed the title Surface API errors Surface API errors (and success) Feb 25, 2025
@j08lue j08lue closed this as completed Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant