Box Meta Data query is not working using curl method
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"}
Post is closed for comments.
Comments
1 comment