Google Places API works for 50, but doesn't for 250?

Question:
I currently am running a Google Places API pull into a CSV. It’s working for 50 places and 60 places, but when I set the limit to 250, it fails to run. Any ideas on how to debug this? Unfortunately Replit doesn’t give me information as to why it’s not working (but I could just be looking in the wrong places).

Repl link:
https://replit.com/@DonovanDoyle/Google-Places-CSV-Denver?v=1

code snippet

What errors or messages you see when you try to run after setting limit to 250