Sharepoint Permissions Actions : Too many requests

Hello,
recently I'm encountering the following error in my workflows.

Action : Change_SharePoint_permissions
Error : BadRequest
Message : Unexpected response from the server. The content type of the response is "text/plain; charset=utf-8". The status code is "TooManyRequests".

In these cases even 50/100 workflows has triggered at the same time from a sharepoint list, but in the past I've never been encoutered this problem.

How I can solve this issue?
Thank you.

Stefano, could you share the raw outputs of the failed action for research? Please send it to support@plumsail.com and refer to this topic.

Email sent few minutes ago.
Thank you @Evgeniy .

We had an issue on our back end and resolved it on Friday. For now, it should work as usual. Also, we prepared a fix to avoid such failures in the future.

1 Like

All right.
Thank you so much for your support @Evgeniy .

Hello @Evgeniy
I am running again in the same issue but I don't understand why.
If I try to submit again the flow after the error, then it runs well.
Please let me know what's happening.
Thank you.

Action:  Change sharepoint permissions
Action Type: Grant

BODY
{
  "request": {
    "url": null,
    "traceId": "0HN23BS54A8LPc852f601"
  },
  "error": {
    "code": "ApplicationResultException",
    "message": "The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.",
    "date": "2024-03-13T14:17:11.7894808Z"
  }
}


HEADERS
{
  "Transfer-Encoding": "chunked",
  "x-jobid": "0HN23BS54A8LPc852f601",
  "Date": "Wed, 13 Mar 2024 14:17:11 GMT",
  "Referrer-Policy": "strict-origin-when-cross-origin",
  "Content-Type": "application/json; charset=utf-8",
  "Content-Length": "299"
}


Action:  Change sharepoint permissions
Action Type: RemoveAll

BODY
{
  "request": {
    "url": null,
    "traceId": "0HN23BS54A8LP6b809629"
  },
  "error": {
    "code": "ApplicationResultException",
    "message": "Can't resolve the username: xxx.yyy@mydomain.com Unexpected response from the server. The content type of the response is \"text/plain; charset=utf-8\". The status code is \"TooManyRequests\".",
    "date": "2024-03-13T14:11:41.6122718Z"
  }
}


HEADERS
{
  "Transfer-Encoding": "chunked",
  "x-jobid": "0HN23BS54A8LP6b809629",
  "Date": "Wed, 13 Mar 2024 14:11:40 GMT",
  "Referrer-Policy": "strict-origin-when-cross-origin",
  "Content-Type": "application/json; charset=utf-8",
  "Content-Length": "353"
}

Hi Stefano! I asked developers to check this issue and will get back to you soon.