Hi,
I've been following
this tutorial to create a flow that will take a Microsoft Form submission and create a Microsoft Planner Task.
I've set the flow up so that if the 'Scope' with attachment has failures then the Planner Task will still be created, however, I'd ideally like to be able to capture if there are attachments (as well as if there aren't any) but I've been struggling.
Recently, I've been getting a bad gateway error when updating a task with an attachment and I can't work out how to solve it.
Can anyone help?
Here's the headers and body of the 400 error:
Headers:
{
"Access-Control-Allow-Methods": "GET, PUT, PATCH, DELETE, POST",
"Access-Control-Allow-Origin": "*",
"Access-Control-Max-Age": "3600",
"Access-Control-Expose-Headers": "*",
"Date": "Wed, 24 Jul 2024 15:20:48 GMT",
"Content-Length": "688",
"Content-Type": "application/json"
}
Body:
{
"error": {
"code": 400,
"message": "Cannot set child value ' !' on Newtonsoft.Json.Linq.JValue:'[\n {\n \"alias\": derek sellar - SQL fundamentals certificate_Derek Sellar 10.pdf\n \"resourceLink\": https://jsainsbury-my.sharepoint.com/personal/derek_sellar_sainsburys_co_uk/Documents/Apps/Microsoft%20Forms/Digital%20Performance%20Request%20Form/Question%201/derek%20sellar%20-%20SQL%20fundamentals%20certificate_Derek%20Sellar%2010.pdf\n]'",
"source": "flow-apim-europe-001-westeurope-01.azure-apim.net",
"path": "choose[17]\\when[1]\\choose\\when[1]",
"policyId": "",
"clientRequestId": "d630ef52-29be-4dcf-9ded-f58f5e589003"
}
}