Hello,
I am creating a flow to automatically save emails to a folder in OneDrive. It worked once and I didn't get the results I wanted so the next time I tweaked it, it stopped working and even when I reset it to the way it was, it refuses to work at all.
I'm getting the following output in the OneDrive for Business - Create File connector.
{ "status": 400,
"message": "Invalid request",
"source": "api.connectorp.svc.ms" }
I have also attached a few screenshots of the flow.
Thank you in advance for your help.!
Flow Details
Flow Error
I solved it with a compromise of not creating a folder for each email and only saving the .eml file. I don't know if there is another solution but for now I am going with this. Thanks for your help anyways
When you Test the flow are you sending a new email with a different subject? The OneDrive create file action will fail if you try to overwrite an existing file. Also, make sure that the full root of the folder path exists. The action can create a folder, but only if the parent folder already exists. Since you are nesting your folder inside a From folder make sure the From folder is valid.