I have a flow that reads items from a custom connector. Then an Apply to Each creates items in a list in SharePoint. This flow runs nightly. There are about 3300 items created successfully. The flow has completed successfully 14 out of 16 days. On the 6th and 11th run, the flow shows failed with this error message.

{ "error": { "code": 502, "source": "flow-apim-msmanaged-na-eastus2-01.azure-apim.net", "clientRequestId": "807d7b6c-35ac-4be0-ad14-6f151ef6944a", "message": "The response is not in a JSON format.", "innerError": "\r\n\r\n\r\n

Service Unavailable

HTTP Error 503. The service is unavailable.

\r\n\r\n" } }

In both instances of the "failed" flow, this error occurs only once for the 3300 items. The flow has run since the error so I'm unsure if the Create action completed successfully and only the response failed. Is there a fix for this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.