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

If attachment token expires, it throws a 500 error instead of Unauthenticated #8825

Open
janwo opened this issue Dec 1, 2024 · 6 comments
Open
Assignees
Labels
good first issue Good for newcomers

Comments

@janwo
Copy link

janwo commented Dec 1, 2024

Bug Description

If attachment token expires, it throws a 500 error instead of Unauthenticated (http://localhost:3000/files/attachment/6e007a40-8da7-442a-a206-1de7a04a087f.png?token=xxx)

Expected behavior

I would expect an unauthenticated error or something more descriptive to distinguish from unexpected server errors.

@giiger
Copy link

giiger commented Dec 2, 2024

Could I be assigned to this? I am a new contributor :)

@FelixMalfait
Copy link
Member

@giiger yes of course! Thank you!

@giiger
Copy link

giiger commented Dec 6, 2024

#8939

@munch-lax
Copy link

Hey @FelixMalfait @janwo, I'd like to work on this bug. Does the current PR address your requirements? If not, I'd love to give it a shot!

@FelixMalfait
Copy link
Member

@munch-lax it doesn't address the requirements unfortunately. We'll merge whichever gets it right. Thanks a lot to both of you!

@munch-lax
Copy link

munch-lax commented Dec 12, 2024

@FelixMalfait PR-9043

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: 🆕 New
Development

No branches or pull requests

4 participants