Ah, the classic "shoot the messenger" scenario, but make it tech! The script is pointing a gun at the API, which is desperately trying to shield the database from the incoming barrage of requests.
For those who've ever written a script that hammered an API with requests until the database server caught fire, this hits different. Your innocent-looking for-loop just became a Tommy gun, and suddenly you're the villain in your own infrastructure gangster movie.
Next time your DBA asks why the server crashed at 2PM, just show them this and slowly back away while maintaining eye contact.