Hey, since a couple of weeks we face an error in our zap that does the following
- Get new entry in typeform (works)
- find and edit values in Salesforce (works)
- create a folder-structure in OneDrive (causes the problem)
- upload documents into the folder
The problem is, that since a couple of weeks I get the following error:
OneDrive - The app returned “Resource not found for the segment ‘root:’.”
So I adopted the Zap a bit so that in testing it works now. The weird thing is, when published it doesn´t work - when I replay the Zap manually in the Error mode, it works again with the real data. But only when replaying the Zap.
Now I will describe the actions that should happen:
The OneDrive step is set up like this:
1. Find or Create Folder
- Create a Subfolder: Thats where the Error is caused the first time:
Here I use the folderpath from the step before. But then the before described ‘root’ Error happens but ONLY in published version. In testing AND in Error - manual run Zap again mode it works. - create a subfolder in the subfolder:
I think here I have the same problem. Before I only used the Folder Path from the parent folder but that always gave me the ‘root’ error, when I recunstruct the folder path with the folder path outcome from step 1 and then add a / and the order number from salesforce, in testing it works.
But in published the Zap never runs until here.
As I thought the reason could be that the OneDrive folders are not created fast enough before the Zap tries to find the folder for creating a Subfolder, I inserted delay steps of 1 min each:
It didn´t solve the problem, but in the Error - replay Zap mode, the zap runs without problems.
Does anyone know what to do?