openneuro
openneuro copied to clipboard
Annex object requests should throw an error when made to the wrong worker
What went wrong?
See https://github.com/OpenNeuroOrg/openneuro/issues/3082 for an example. This error could be caught earlier if the request was rejected instead of succeeding but resulting in a dataset with inaccessible objects.
Expected behavior
These endpoints should throw 400 with an error message indicating the URL is probably incorrect.
How to reproduce
No response
Desktop
- OS:
- Browser:
- Version:
Phone
- Device:
- OS:
- Browser:
- Version:
Additional information
No response