Skip to content

Surface API errors (and success) #24

@j08lue

Description

@j08lue

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions