I am trying to build a flow that edits a file, splits it into three separate files, emails those three, and then deletes the three along with the original file. So far everything is working except for the delete step I keep getting an error that says 'The response is not in a JSON format'. Any help given would be greatly appreciated.
I am having this same exact issue, if anyone's able to assist.
This step earlier in the flow works:
but the delete step returns a 404, even though we're using the exact same information:
Error Text (which makes no sense because we just attached the file to the email):
{"statusCode":404,"headers":{"Cache-Control":"no-store","Set-Cookie":"ARRAffinity=f0cf6515b964ed71a3330b30673731d75ad3321adfb3448f8fe843b9868e0497;Path=/;HttpOnly;Secure;Domain=sharepointonline-eus2.azconn-eus2-002.p.azurewebsites.net,ARRAffinitySameSite=f0cf6515b964ed71a3330b30673731d75ad3321adfb3448f8fe843b9868e0497;Path=/;HttpOnly;SameSite=None;Secure;Domain=sharepointonline-eus2.azconn-eus2-002.p.azurewebsites.net","Strict-Transport-Security":"max-age=31536000; includeSubDomains","X-Content-Type-Options":"nosniff","X-Frame-Options":"DENY","Timing-Allow-Origin":"*","x-ms-apihub-cached-response":"true","x-ms-apihub-obo":"false","Date":"Thu, 03 Nov 2022 17:43:20 GMT","Content-Length":"353","Content-Type":"application/json"},"body":{"error":{"code":404,"source":"flow-apim-msmanaged-na-eastus-01.azure-apim.net","clientRequestId":"0e0fe6e2-82a7-4516-bd00-18dc7094740e","message":"The response is not in a JSON format.","innerError":"The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."}}}