Failure when updating redirects via Fastly API
Reported by Darby Frey
I added a couple redirects in the handbook that don’t appear to be working, and I was wondering if someone might be able to help track down the problem?
Problem
Patch request to Fastly API fails silently with the following error message:
{"msg"=>"You can't have more than 1000 items in one batch operation"}
Proposal
- Explore Fastly API and find an option to update redirects. Possible solution: splitting into smaller batches
- Raise an exception or warning when API returns an error to prevent silent failures