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.
However, it also starts showing that it's 'retrying' up to 4 times, and it always ends with the following error:
Outputs Details
4 Retries - Details:
1st Retry:
Retry 2-4 (Start and end times differ, but same error):
Status Code: 502
Key | Value |
Pragma | no-cache |
x-ms-request-id | 331802e6-ec27-4875-94cc-3e9bd72e825d |
Timing-Allow-Origin | * |
Cache-Control | no-cache |
Date | Tue, 16 Jan 2018 19:59:19 GMT |
Set-Cookie | ARRAffinity=622c74dd20820a29ad038bb6f18c30fe85f84009541dc1341e4efd23c045ffea;Path=/;HttpOnly;Domain=sharepointonlineconnectionprovider-westus.tip0-westus.p.azurewebsites.net |
X-AspNet-Version | 4.0.30319 |
X-Powered-By | ASP.NET |
Content-Length | 373 |
Content-Type | application/json; charset=utf-8 |
Expires | -1 |
Body:
{ "message": "The current state of the item is Denied and the following action Reject cannot be implemented\"\r\nclientRequestId: 331802e6-ec27-4875-94cc-3e9bd72e825d", "status": 502, "source": "https://[domain].sharepoint.com/teams/pm/_api/SP.APIHubConnector.SetApprovalStatus", "errors": [ "-1", "Microsoft.SharePoint.SPConnectorException" ] }
Anyone know why this is happening?
Hi @McThrustin,
Could you please share a full screenshot of your flow's configuration?
Could you please show a bit more about your SharePoint list?
Further, do you enable Content Approval in your SharePoint list?
Thanks for your feedback, the issue is confirmed on my side, I would post this issue to my product team. If the issue is solved, I would reply here.
Best regards,
Kris
Hey @v-xida-msft,
Regarding your questions:
Let me know if you need anything else.
Hey @v-xida-msft,
Do you have any follow up on this issue?
I have not heard back in almost a week since sending you the information you requested.
Did you ever find a fix to this? I am having the same issue right now. User has contribute access to two lists being used, but approval status fails. When a SharePoint owner tries, works fine
I am an owner and another owner co worker can run it fine. So, now I'm just trying to find out what is the minimum level of permissions for someone to approve. Might have to create some custom advanced settings instead of the presets.
Edit: Whoops just read your reply more carefully, thanks for the help!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
12 | |
11 | |
9 | |
9 | |
6 |
User | Count |
---|---|
25 | |
21 | |
17 | |
8 | |
8 |