I'm creating a custom approval workflow which allows employees to use the 'Start an Approval' Action to approve or reject items on a SharePoint Online List.
My flow is always erroring out on the 'Set Content Approval Status' step. However, it appears to be doing what it's supposed to: it properly sets the Approved/Rejected status on the SharePoint List, and it adds the comments.
When I approve the request it works fine. However when i reject the request, it starts showing that it's 'retrying' up to 4 times, and it always ends with the following error:


Outputs Details
4 Retries - Details:
Duration: 1s
Start time: 2018-08-14T06:28:36.0898917Z
End time: 2018-08-14T06:28:36.6211421Z
Status: BadGateway
Client request ID: 1bad745b-cf56-4385-8b78-7f82fc02df05
Duration: 0s
Start time: 2018-08-14T06:28:41.7617648Z
End time: 2018-08-14T06:28:41.886796Z
Status: BadGateway
Client request ID: c26c21df-a599-431b-9ec9-7ef23bcd4601
Duration: 0s
Start time: 2018-08-14T06:28:50.9805367Z
End time: 2018-08-14T06:28:51.1836412Z
Status: BadGateway
Client request ID: 33e1cb23-adb7-443d-8c2d-0c3fa12da48d
Duration: 0s
Start time: 2018-08-14T06:29:07.2735041Z
End time: 2018-08-14T06:29:07.3673428Z
Status: BadGateway
Client request ID: bfe8ad99-75fa-4742-b41e-6cfca07b31e8
Below is full screenshot of my Flow's Configuration?
Thank You.