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

[download] Server propagates the s3-backend feedback message to the user if a file/dataset does not exist #1088

Open
2 tasks
aaperis opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@aaperis
Copy link
Contributor

aaperis commented Oct 21, 2024

Describe the bug
Trying to fetch a non-existent file with sda-download returns an s3-backend-propagated message to the user.

Steps to reproduce
the following:

curl -s --location 'https://staging-download.gdi.nbis.se/s3-encrypted/someDatasetID/someFileID' --header "Authorization
: Bearer $token"

returns

<?xml version="1.0" encoding="UTF-8"?>
<ListAllMyBucketsResult><Buckets></Buckets><Owner></Owner></ListAllMyBucketsResult>

Expected behavior

  • a 404 or equivalent message
  • Tests verifying the fix are added

Additional context

Estimation of size: small

Estimation of priority: low

@aaperis aaperis added the bug Something isn't working label Oct 21, 2024
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