Skip to main content

Hi all, I have an existing Zap which has been working perfectly for years but recently stopped working.

I use Gmail to add a label to particular emails, which Zapier pick up and save the attachments into a folder on OneDrive. 

Now when I try to fix the Zap or set up a new one to do the same thing, I am getting this error:

Failed to create a file in OneDrive

The setup for Gmail works fine and the output shows the correct email.

The OneDrive connection works and I can select the correct folder.

When I test the Zap, it produces an error. 

I’ve tried using the “Insert data for File” field “All Attachments” which used to work but no longer does. I’ve also changed it to “Attachment 1” but this has the same error.

The AI suggestion for the issue is:

The error in your OneDrive step when attempting to "fileCreate" could be due to the way the file data is being passed from the previous step. The input data shows that the file field is using a placeholder {{273382770__all_attachments}}, which suggests that it is trying to use attachments from the previous Google Mail step. However, the data from the Google Mail step does not explicitly show any attachments being extracted or available for use. This could mean that the placeholder is not being populated correctly, leading to the error.

 

Hi ​@magungole,

Welcome to the Community! 🎉

Before we dig deeper into this, would you mind sharing a detailed screenshot of how your Zap is configured? Also, please share a screenshot of the “CONFIGURE” section of the OneDrive step that shows all of its fields.

Please don't include personal information in the screenshot, or be sure blur out any personal information.

Thanks!


Thanks ​@ken.a !

Here are some screen shots - hope these help:

 

 

 

 

 


Thanks for the screenshots ​@magungole!

It looks like your Zap has been setup correctly. Could you please try publishing the Zap and doing a live run? After that, please check the Zap History to see if you’ll encounter the same issue.

I'll be keeping an eye out for your response!


Thanks. I’ve done that and retriggered the Zap. This is the error I had in the history:

 

I visited the screen to click Reconnect and this popped up:

Afterwards, it looked like the reconnection had worked. However, I keep getting the same errors. I’ve tried to create a new connection to OneDrive and it still has this issue. 


Reply