Skip to main content
Question

Does query_params become mandatory?

  • May 23, 2025
  • 1 reply
  • 30 views

Forum|alt.badge.img

Does input parameter “query_params” in API “Query files/folders by metadata”(https://developer.box.com/reference/post-metadata-queries-execute-read/) become mandatory?

About 1 month ago, we can execute queries without query_params, but recently we can’t. Without query_params, for example, "fieldName IS NULL", the following error returned.

 

The API returned an error code [400 | 0f5621d4b264c67eef66d1de0dc146bb8.0f5621d4b264c67eef66d1de0dc146bb8] unexpected_json_type - Unexpected JSON with type string

1 reply

Forum|alt.badge.img

Hi there, 

Welcome to Box Community and I'm here to help! 

To assist with your API issues, I went ahead and opened a new ticket. A member of our team will get in touch shortly and please keep an eye to your email. 

Thanks for posting!