Error while debugging workflow after successful connection setup

Hello [Community]

My name is Pravin, and I am currently working on a Library Management Automation project in UiPath [Studio Web] The goal of the project is to iterate through an Excel workbook, identify students with overdue books, and send them an automated email notification.

I have completed my project setup and configured all the required connections successfully. However, I am encountering an error when I try to debug the workflow.
I have attached a screenshot of the error for reference. Could someone please help me understand what might be causing this issue and how to resolve it?

Thank you in advance for your support.

Hi @PRAVIN_T

Error message seems to be like a M365 service protection guard (Anti Spam guard).
You can fix it by sending more slowly and retrying correctly.

Please give a try on following approach

  1. Inside your For Each Row where If Overdue, insert a Delay after each Send:
  • Delay: TimeSpan.FromSeconds(3) to TimeSpan.FromSeconds(10)
    (If throttling persists, increase to 15–30 seconds.)

Note : if you already have a Delay in your Then branch, try increasing the interval.

  1. Avoid Spammy Pattern
  • Send one email per student (Avoid huge CC/BCC).
  • Vary subject/body slightly (include student name, book title, due date to make it uniquq).
  • Keep attachments small or link to files instead.
  1. Align with Message Rate Policy

    Typical Exchange Online protections include a message rate limit and recipient rate limit per mailbox. If you’re hitting many students at once, slow the cadence or split across time windows or mailboxes. (Exact numbers can vary by plan/policy , check with your M365 admin.)

Happy Automation !!