How to fix this error (sending emails)

Hello anyone knows how to fix this error

Error encountered in step with name [New step]: Status(StatusCode=“ResourceExhausted”, Detail=“Resource has been exhausted (e.g. check quota).”)

Reduce the number of emails your app is sending. Contact Support for more help.

try to contact support but it send me here :sweat_smile:

Then your only option appears to be to reduce the number of emails your bot sends. How many did you try to send?

Hello @Diego_Sanchez,

Please allow me to research further. I am sending you a PM in a minute.

Hello @Diego_Sanchez,

Hello,

Thank you for your patience while our engineering and support teams conducted the investigation.

After the team reviewed the app logs, they found that the issue is not related to email volume limits, but rather the daily PDF generation quota (for example, on October 15, your account requested around 4,200 PDFs across several apps).

AppSheet renders PDFs through a shared backend service limited to 2,500 PDF files per day (and a maximum burst rate of 20 per second) per app-owner account, which resets daily at midnight Pacific Time (AppSheet documentation limits). Once that 2,500 threshold is reached, subsequent “Create a new file” steps fail with the ResourceExhausted error until the counter resets.

Recommendations to Optimize Your Workflow: To help you stay within the standard limits and maintain app performance, we recommend exploring the following optimizations:

  1. Consolidate PDF Generation: If a single inspection triggers multiple PDF steps, try generating the PDF once per inspection (using a single Create a new file step) and then attach that same file across multiple email steps, or use the Attach and archive option.

  2. Switch to Excel Templates: Where possible, consider changing your template format from PDF to Excel (.xlsx), as spreadsheet attachments do not consume the backend PDF generation quota.

  3. Alternative Formats: Consider using HTML emails or a daily consolidated summary report instead of generating a separate PDF for every individual record.

  4. Scale Across Accounts: If high-volume per-record PDFs are strictly required for your operations, you can distribute your applications across separate owner accounts (giving each account its own independent 2,500/day limit) or formally request a custom limit increase through support by providing your projected volume metrics.

I hope this helps!

Gracias!

Como le comento, necesito esa cuenta para los correos como mencionan ahi, pero necesito que sea publisher, por un lado por otro lado, como puedo hacer el punto 4 al final.

Si requiero que la cuenta sea publisher Pro, la cuenta de (PII removed by staff)

Saludos!

(de antemano muchas gracias por la ayuda y disculpe la lata)

Hola @Diego_Sanchez !

Te envié un PM respondiendo a ambas preguntas.

Saludos!