I am trying to create a new project task whenever an MSForm has been submitted. However, it is failing due to a "The response is not in a JSON format." error. Here is my flow:


Here is what is returned from the Create Project step


Body
{
"error": {
"code": 302,
"source": "flow-apim-msmanaged-na-eastus2-01.azure-apim.net",
"clientRequestId": "916d51c2-ce60-4c93-8e1d-bae6a81cd802",
"message": "The response is not in a JSON format.",
"innerError": "Cannot read server response."
}
}
Headers
{
"Pragma": "no-cache",
"client-request-id": "41a8eefc-13f5-4168-86a1-71249c7fdda4",
"X-CorrelationId": "41a8eefc-13f5-4168-86a1-71249c7fdda4",
"X-Frame-Options": "DENY",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"x-ms-apihub-obo": "false",
"Cache-Control": "no-store, no-cache",
"Date": "Mon, 08 May 2023 18:47:53 GMT",
"Location": "/uncg.edu/en-US",
"Content-Length": "279",
"Content-Type": "application/json"
}
Raw Outputs
{
"statusCode": 302,
"headers": {
"Pragma": "no-cache",
"client-request-id": "41a8eefc-13f5-4168-86a1-71249c7fdda4",
"X-CorrelationId": "41a8eefc-13f5-4168-86a1-71249c7fdda4",
"X-Frame-Options": "DENY",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"x-ms-apihub-obo": "false",
"Cache-Control": "no-store, no-cache",
"Date": "Mon, 08 May 2023 18:47:53 GMT",
"Location": "/uncg.edu/en-US",
"Content-Length": "279",
"Content-Type": "application/json"
},
"body": {
"error": {
"code": 302,
"source": "flow-apim-msmanaged-na-eastus2-01.azure-apim.net",
"clientRequestId": "916d51c2-ce60-4c93-8e1d-bae6a81cd802",
"message": "The response is not in a JSON format.",
"innerError": "Cannot read server response."
}
}
}