Showing results for 
Search instead for 
Did you mean: 
New Member

The response is not in a JSON format


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.Untitled.jpgUntitled1.jpg

Regular Visitor

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;,ARRAffinitySameSite=f0cf6515b964ed71a3330b30673731d75ad3321adfb3448f8fe843b9868e0497;Path=/;HttpOnly;SameSite=None;Secure;","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":"","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."}}}



Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,603)