Skip to main content
Question

/search endpoint error: {'reason': 'missing_parameter', 'name': 'to_search', 'message': "'to_search' is required"}

  • May 22, 2025
  • 2 replies
  • 12 views

Forum|alt.badge.img

What is the to_search parameter? Looking at the documentation here: 

https://developer.box.com/reference/get-search/

It's never mentioned. I have no clue what that error is telling me to do. 

2 replies

Forum|alt.badge.img

Nevermind, I see it...I made an assumption about my code that wasn't true. However, this error message is very misleading. It should be: 

"query" parameter is required. Not "to_search" parameter is required. 


Forum|alt.badge.img

Thanks for the feedback! Appreciate you replying that you figured it out. Have a great day! 

Thanks, 

Alex, Box Developer Advocate