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

🐛 404 on some versions in environment #187

Closed
AntoLC opened this issue Aug 22, 2024 · 1 comment · Fixed by #258
Closed

🐛 404 on some versions in environment #187

AntoLC opened this issue Aug 22, 2024 · 1 comment · Fixed by #258
Labels
bug Something isn't working

Comments

@AntoLC
Copy link
Collaborator

AntoLC commented Aug 22, 2024

Bug Report

We noticed some 404 when reaching some versions.
The versions were displayed from the list endpoint, but gives a 404 when we tried to access the resource (see here).

Investigate why, it could be a quota problem with Minio, if yes we should find a way to monitor that, to get some alerts or something (#116).

@AntoLC AntoLC added the bug Something isn't working label Aug 22, 2024
@AntoLC AntoLC linked a pull request Sep 9, 2024 that will close this issue
@AntoLC
Copy link
Collaborator Author

AntoLC commented Sep 11, 2024

The error comes from near here, the filter from_datetime does not work as expected, listing versions that are not permitted to read.
https://github.com/numerique-gouv/impress/blob/b716881d50368d1b764379cf0cac9cc8c26f7b82/src/backend/core/api/viewsets.py#L361-L363

@AntoLC AntoLC removed a link to a pull request Sep 23, 2024
@AntoLC AntoLC linked a pull request Sep 23, 2024 that will close this issue
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