I have a flow When a new email arrives I want to Export email and Create file on SharePoint site. I keep getting the following error on my trigger.
{
"statusCode": 403,
"headers": {
"Pragma": "no-cache",
"x-ms-request-id": "a742be6b-fbd0-401a-8d8a-7556ca96a2fe",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"Cache-Control": "no-store, no-cache",
"Date": "Fri, 25 Oct 2019 13:29:15 GMT",
"Set-Cookie": "ARRAffinity=54510b7d12a1b7a45644f916defea1ae1901b62edf9fb86bd27b36252e3c9f90;Path=/;HttpOnly;Domain=office365-gcc-usgv.azurewebsites.us",
"Content-Length": "298",
"Content-Type": "application/json",
"Expires": "-1"
},
"body": {
"status": 403,
"message": "Operation: Create; Exception: [Status Code: Forbidden; Reason: Access to OData is disabled.]\r\nclientRequestId: 8d17c281-c11e-497b-b16e-fd2a98276153\r\nserviceRequestId: a742be6b-fbd0-401a-8d8a-7556ca96a2fe",
"source": "office365-gcc-usgv.azurewebsites.us"
}
My flow looks like:
Any thoughts on how to fix this?
Hello,
403 errors are generally caused by unauthorized resource or forbidden resource.
Double check that you and the connections you are using in flow have access to that SP.
Try removing the connection on your flow and re adding it as well.
Proud to be a Flownaut!
The runs as from the library. The group in het library didn't have write permission on the list so that was the problem, it's now fixed 🙂
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.