https://linen.dev logo
One Drive search items
# 🖥│support-forum
m
Hi team, It seems to me that the ONE_DRIVE_SEARCH_ITEMS is not working as expected. If you look at the attached screenshot, when I use the ONE_DRIVE_ONEDRIVE_LIST_ITEMS tool to list all items in my one drive, there is an item called
Visa.xlsx
, but the search tool cannot find this item with the query Visa. Can you please check this? https://cdn.discordapp.com/attachments/1430107516628369438/1430107519459786893/image.png?ex=68f892ea&is=68f7416a&hm=1f48f41d06eafb43bca60672cc1d248fc196ba88a3e3ddbee255555ed777d2d7&
a
a
Hey, you need to pass the entire file along with the extension. Let me know if it works for you.
m
a
I see, could you confirm if your file is in root directory? you can use "drive" to include the shared items too. Also, I figured that using the name of the file without an extension would work fine in the query. https://cdn.discordapp.com/attachments/1430107516628369438/1430139934433607780/Screenshot_2025-10-21_at_15.51.50.png?ex=68f8b11b&is=68f75f9b&hm=327ba4cda3bccf993891283aeb67ab877daa69dff06eef011f4dff8e1bda7e29&
if i upload a new file with same name pattern, say Visa_1, then it can search that Visa_1 file with the query 'Visa', so I guess it's working fine, not sure why the old Visa file was not working. (If i delete the old file then upload new file then it works just fine)
thanks for the support anyway!
a
Yes, Ideally the API should've picked up the
Visa.xlsx
. Let me know if you face the Issue again. Thanks!