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

[BUGFIX]: All errors are reported as 401 on the backend #600

Open
3 tasks done
paulushcgcj opened this issue Feb 7, 2025 · 0 comments · May be fixed by #605
Open
3 tasks done

[BUGFIX]: All errors are reported as 401 on the backend #600

paulushcgcj opened this issue Feb 7, 2025 · 0 comments · May be fixed by #605
Assignees
Labels
bug Something isn't working

Comments

@paulushcgcj
Copy link
Contributor

Bug Summary

Any error is returned as 401 by the backend

Describe the Bug

When the backend fails, sometimes in an expected and sometimes in an unexpected way, the error handler is wrapping the exception as a 401 due to the security and authentication. This needs to be fixed to allow the application to return the correct error codes.

Steps to Reproduce

  1. Log into the application
  2. Cause an error (such as [DEV TASK]: 401 error on openings/recent #592 )
  3. Check the network tab for the response
  4. HTTP Status code is 401

Expected Behavior

  1. Log into the application
  2. Cause an error (such as [DEV TASK]: 401 error on openings/recent #592 )
  3. Check the network tab for the response
  4. HTTP Status code should be 409

Actual Behavior

No response

Screenshots

Affected Environments

  • Development
  • Staging
  • Production

Desktop Information

No response

Additional Context

No response

@paulushcgcj paulushcgcj added the bug Something isn't working label Feb 7, 2025
@paulushcgcj paulushcgcj self-assigned this Feb 7, 2025
@paulushcgcj paulushcgcj linked a pull request Feb 7, 2025 that will close this issue
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant