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

Attempting to access restricted files results in a 500 response #803

Open
paul-butcher opened this issue Aug 16, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@paul-butcher
Copy link
Contributor

See Slack.

Attempting to fetch a restricted file via https://api.wellcomecollection.org/text/alto/ results in a 500 response.

I do not know whether:
a) This should be 401 (i.e. it is caused by an unauthorised user trying to fetch the file and it is currently rightly refusing, but giving the wrong response)
b) There is actually something wrong (i.e. an authorised user is trying to fetch the file)

@paul-butcher paul-butcher added the bug Something isn't working label Aug 16, 2024
@paul-butcher
Copy link
Contributor Author

There may be something else at play here. It is unlikely that a user has constructed the URLs I'm seeing by themselves, so are we incorrectly presenting links to restricted content? Perhaps someone has an old version of a page before the restriction was added?

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

No branches or pull requests

1 participant