Skip to main content
Question

Getting 0 items when searched with folder name

  • May 22, 2025
  • 3 replies
  • 21 views

Forum|alt.badge.img

Hello, I have got all the access to BOX API, so that external application can talk with it, also i am able to generate access token from gateway to box in staging, now as a next step i want to read the folder from box. For which i am doing GET https://api.box.com/2.0/search?query=Chatbot&type=folder with Authorization Bearer access token, but i am getting blank result as below:

{
"total_count": 0,
"entries": [],
"limit": 30,
"offset": 0
}

Even though i know this folder exists, can you please help me where i am doing wrong? Any help is much appreciated

3 replies

Forum|alt.badge.img

 Just to clarify the issue, are you able to get search results for other queries or is this issue returning no results for all queries? 


Forum|alt.badge.img

Hello,

Its for all the queries.


Forum|alt.badge.img

I've noticed to it takes 5 to 10 minutes for Box to index new items. See the following thread for more info.

 

https://community.box.com/t5/Box-Developer-Forum/Box-Search-Delay/td-p/40072