vercel / vercel/storage

Downloads blocked based on user agent?

Open
#596 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
595
Forks
101
Avg merge
2h 24m
Merged PRs (30d)
1

Description

When I attempt to download an item from blob storage from a python script (urllib.request.urlretrieve(input_value, filename)) it fails with a 403. I can confirm it is fully public, e.g.

https://zggi1etfjuuy7hkt.public.blob.vercel-storage.com/42c8127f-82c0-4dee-a15f-d8d01cccf9bd-GIlpRfWn4ihUwaX87s5ETI1C0vLzOE.jpg

Is this intended behaviour? Is there a workaround?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the 403 with Python's urllib.request.urlretrieve against the public blob URL in the issue, then compare that request with a browser download. The issue does not name repository files or tests; done means determining whether user-agent filtering is intended and identifying a confirmed workaround or the relevant service change.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.