Skip to main content
Question

Box Meta Data query is not working using curl method

  • May 22, 2025
  • 1 reply
  • 20 views

Forum|alt.badge.img

https://developer.box.com/reference/post-metadata-queries-execute-read/

https://developer.box.com/guides/metadata/queries/create/

We have tried meta data queries  with curl method. But getting following errors. Please check the following curl method and share the solution about this issue.

curl -i -X POST https://api.box.com/2.0/metadata_queries/execute_read -H 'Authorization: Bearer <token>' -H 'Content-Type: application/json' -d '{"from": "enterprise_12345.testingtemp","query": "publish = :publish","query_params":{"publish": "Yes"},"fields": ["id"],"ancestor_folder_id": "12345678","limit": 10}'

This query getting following result.

{"message":"too many instances, and no supporting index available","code":"too_many_instances","request_id":"l3rdkzgtqrp0stqc"}

 

1 reply

Forum|alt.badge.img

I'm seeing the same thing with production instance of box. sandboxes behave as expected