I have a customer with a Microsoft tenant.
We have written M365 Power Automate 'Flows' that fire when a contact in the Microsoft environment is updated or created.
The Flows
- Request and get a Sugar access token
- Checks for an existing record in Sugar
- Either updates or creates the contact record
Steps 1 & 2 fire happily but #3 frequently returns a 502. Sometimes the update is successful but usually it is not.
I surmise the 502 is due to Microsoft hitting Sugar too fast.
Can anyone comment on this?
Are there any known timing thresholds that I should try to acommodate?
i.e make no more than X calls to Sugar in Y milliseconds or something like that?