When I save a new document into the 'trigger' ODfB directory I always get the error below. As there is nothing to configure (other than choose the folder) how can this be resolved?
Announcements
When I save a new document into the 'trigger' ODfB directory I always get the error below. As there is nothing to configure (other than choose the folder) how can this be resolved?
OK, I understand. The issue is that you cannot pick a sub folder, it only allows you to write a file to the root folder. Can you not implement it in the same way as for SharePoint lists where you enter a site URL then choose a list from the drop down?
Nigel
Hi MrNigel,
I investigated this and it appears that there are large number of files in the OneDrive for Business that you are using. Currently there is a limitation in the API exposed by OneDrive for Business for getting files in a directory.
It only allows fetching files from the root folder of the one drive. Which in this case is returning large number of files and iterating through files and directories to detect the creation of new file is taking more than 2 minutes (reason behind the failure you are seeing).
We are working with OneDrive for Business team to remove this limitation but until that is fixed, if possible, as a workaround if you use normal OneDrive (not OneDrive for Business) you wont see this issue as normal OneDrive allows directly fetching files/changes from the child folder you specify in the trigger condition.
Error RunID 08587266452334157510337700768
Hi MrNigel,
It appears to be a timout issue in the trigger trying to detect creation of a file. That call took more than 2 minutes which led to this timeout. For detailed investigation i would need the flow run id. Can you please reply back with the runid of this failed run? You can find runid in the URL of the failed run e.g. in the url below 0858796913446486783235687716 is the runid
https://flow.microsoft.com/manage/flows/728ad8f9-f2b1-48ee-9c89-7a5adf8a2b34/runs/0858796913446486783235687716
Hi MrNigel,
There seems a issue with our onedrive trigger, from the oberservation, the trigger have been triggered for a long time result in this timeout error. But there are some other issues when I use the onedrive trigger. Do you have one drive for business account so that you can also try to use that as the trigger?
Thanks,
Teng
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1