https://linen.dev logo
Folder list fetching issue for Onedrive
# 🖥│support-forum
s
I want to fetch the list of folders and its subfolders from the onedrive. I tried different tools like ONE_DRIVE_SEARCH_ITEMS, ONE_DRIVE_GET_RECENT_ITEMS with different queries like **"folder", "contentclass:STS_List_DocumentLibrary OR folder:*", *"contentclass:STS_List_DocumentLibrary", "folder:*"*, "*"** and with different select fields like "id,name,parentReference,folder,webUrl" to get more specific data. But On every api hit, I got different result and different structure. I am using this api to execute the tools. https://backend.composio.dev/api/v3/tools/execute/
u
Hey @snigdha, you should be able to list folders and sub folders in a specify dir using
ONE_DRIVE_LIST_FOLDER_CHILDREN
. Let me know if this works for you. Thanks!
s
Hi, I got this as a response { "error": { "message": "Tool ONE_DRIVE_LIST_FOLDER_CHILDREN not found", "code": 2401, "slug": "Tool_ToolNotFound", "status": 404, "request_id": "8737cdc4-a09c-4771-a327-bdc42b4bc1b0", "suggested_fix": "Check your input." } }
u
2 Views