Hi,
I'm more or less new to Power Automate and mostly tinkering around with help from this forum and the rest of the internet, so I only have a very basic grasp of things at this point. 😉
I've tried to follow the solution I found in this forum and for support I used this page.
But something isn't working. The flow gets to the HTTP request and it gets stuck there.
I switch the "PATCH" to "MERGE", but to no avail.
This is the Body: {'__metadata':{'type':'SP.Data.Exclusion_x0020_Report_x0020_TestItem'},
'FileLeafRef':''} (there is a dynamic element for the ref, but it didn't copy (see the screenshot)
What am I missing? I'm also unsure if the delay is really need at this point.
This is the raw data:
{
"host": {
"connectionReferenceName": "shared_sharepointonline",
"operationId": "HttpRequest"
},
"parameters": {
"parameters/method": "POST",
"parameters/uri": "_api/list/GetByTitle('Exclusion Report Test')/Items(351)",
"parameters/headers": {
"content-type": "application/json;odata:verbose",
"IF-MATCH": "*",
"X-HTTP-METHOD": "MERGE"
},
"parameters/body": "{'__metadata':{'type':'SP.Data.Exclusion_x0020_Report_x0020_TestItem'},\n'FileLeafRef':'Exception-Report_2024.01_final_2024.02.29'}"
}
}
host:
{ "apiId": "subscriptions/e9bc7b8d-bb95-4e7a-baf8-230462d93177/providers/Microsoft.Web/locations/westeurope/runtimes/europe-001/apis/sharepointonline", "connectionReferenceName": "shared_sharepointonline", "operationId": "HttpRequest" }
parameters:
{ "dataset": "https://Nothing to see here", "parameters/method": "POST", "parameters/uri": "_api/list/GetByTitle('Exclusion Report Test')/Items(351)", "parameters/headers": { "content-type": "application/json;odata:verbose", "IF-MATCH": "*", "X-HTTP-METHOD": "MERGE" }, "parameters/body": "{'__metadata':{'type':'SP.Data.Exclusion_x0020_Report_x0020_TestItem'},\n'FileLeafRef':'Exception-Report_2024.01_final_2024.02.29'}" }