openneuro icon indicating copy to clipboard operation
openneuro copied to clipboard

Annex object requests should throw an error when made to the wrong worker

Open nellh opened this issue 1 year ago • 0 comments

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

nellh avatar Jun 20 '24 06:06 nellh