Skip to content

Send explicit User-Agent and Accept headers to Scryfall#31

Open
SteveEisner wants to merge 1 commit intoscryfall:mainfrom
SteveEisner:scryfall-request-headers
Open

Send explicit User-Agent and Accept headers to Scryfall#31
SteveEisner wants to merge 1 commit intoscryfall:mainfrom
SteveEisner:scryfall-request-headers

Conversation

@SteveEisner
Copy link

@SteveEisner SteveEisner commented Feb 22, 2026

Scryfall recently (I believe?) started enforcing the requirement to send User-Agent and Accept headers when fetching via API: https://scryfall.com/docs/faqs/i-m-having-trouble-accessing-the-scryfall-api-or-i-m-blocked-17

That causes fetches via the scryfall formula to fail. This PR adds explicit User-Agent and Accept headers to UrlFetchApp.fetch when querying Scryfall. It's a generic header that identifies it's using this project to fetch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant