r/GoogleAppsScript • • Nov 01 '25

Question urlfetch error

Post image

I started getting this error since yesterday -

First it was for a script that I run when I receive a product and the script generates a lot label and 4 separate labels for the cuts of the product via a google slides template. After a few hours, the error went away and it started working normally.

Now, this is a separate script that sends out price list to customers via generating a PDF file and attaching it to an email.
What is this and how can I resolve this issue? After a few moments the script worked and I was able to send the email attachment

3 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/zmandel Nov 01 '25

then keep track of your last processed row and start from there. but i doubt that will fix it since your error is about too many calls to an external service. looping rows is not external.

1

u/SavingsPoem1533 Nov 01 '25

I updated the script to only run the last row and consecutive unprocessed rows previous to that for now and see if that will alleviate my situation. I also limited the script run hours to business hours and see if that will help at all