Random script failures: Workbook getWorksheet: The request failed with status code of 503, error code UnknownError and the following error message

Gareth Terblanche 311 Reputation points
2021-11-08T07:41:28.637+00:00

Are there any know issues with running script in a logic app?
Over the last 3 or 4 days I have had multiple seemingly random failures with this message:

We were unable to run the script. Please try again.\nOffice JS error: Line 2: Workbook getWorksheet: The request failed with status code of 503, error code UnknownError and the following error message: \r\nclientRequestId: d820ca3a-6d4d-4e89-ac4f-06d99a2eed53"

I have tested the files and when I run the script on the file manually there are no issues. in addition to this when there is a failure the file is processed a few hours later with no issue.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,845 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MayankBargali-MSFT 68,476 Reputation points
    2021-11-22T08:18:43.41+00:00

    @Gareth Terblanche Apology for the delay and inconvenience due to this issue. It looks like the intermittent issue where there might be issue with the logic app or the connector call itself. If someone is still observing the issue feel free to tag me with the latest clientRequestId along with the region where your logic app is deployed and the timeframe in UTC so I can check the backend logs and assist you further.


  2. Gareth Terblanche 311 Reputation points
    2021-11-22T08:55:41.77+00:00

    @MayankBargali-MSFT Hi I have three recent examples for you:

    1. clientRequestId: 00db1d1e-2be0-4606-bb20-e522b9671ede / Western Europe / Sat, 20 Nov 2021 20:15:24 GMT
    2. clientRequestId: 29602e7c-93eb-4a4f-88cc-3c989abede30 / Western Europe / Sat, 20 Nov 2021 20:18:48 GMT
    3. clientRequestId: dea0f739-4c83-464c-8d99-60852aa938ab / Western Europe / Sat, 20 Nov 2021 22:09:07 GMT
    0 comments No comments