-
Notifications
You must be signed in to change notification settings - Fork 0
Description
There are two primary issues that come up while running the tag replacer on large tagsets (>500 uses). One is that Tumblr throws back a softblock with the following error code:
{"status":500,"statusText":"Internal Server Error","body":{"body":{"meta":{"status":429,"msg":"Limit Exceeded"},"response":[],"errors":[{"title":"Limit Exceeded","code":5029,"detail":"Your IP, XXX.XXX.XXX.XXX, has been blocked for excessive request volume. Please contact Tumblr Support at https://www.tumblr.com/support, including this IP in the message, if you believe this was in error."}]}}}
Too many softblocks, and the user's account is terminated (see Issue from Jan 30 of 2021 by another user!).
The other problem is that the code times out while fetching instances in especially large tagsets (>1000 uses) and just... logs out of Tumblr/restarts the app.
Given both of these issues, maybe there's a way to have the code fetch a maximum of 499 instances of a given tag with one fetch request? Having to run the app multiple times for large tags but decreasing the risk of an account termination or app failure would be a positive tradeoff! :)