Skip to content

The request status error are not matching the actual error code #69

Open

Description

@lub-bee

I haven't try all of them, bug just some, and the message / error code are not matching

Tested and off :

  • 400 -> "Not found", expecting "Bad Request"
  • 401 -> "Not found", expecting "Unauthorized"
  • 403 -> "Not found", expecting "Forbidden"

Tested and ok :

  • 200
  • 201
  • 202
  • 404

Activity

  1. changed the title [-]The request Status are off[/-] [+]The request status error are not matching the actual error code[/+] on Aug 31, 2023
  2. unwls commented on Feb 22, 2024

    @unwls
    Collaborator

    @lub-bee Thanks for letting me know. Would you like to try adding this feature? I noticed that in my code, if the request fails, all error messages are displayed as "Not found". I believe the code can be refactored to display the correct message depending on the error code from the API response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions