-
Notifications
You must be signed in to change notification settings - Fork 186
Closed
Labels
bugAdded to issues that describes SDK bugAdded to issues that describes SDK bug
Milestone
Description
`
BoxSearch search = new BoxSearch(boxCon);
BoxSearchParameters searchParms = new BoxSearchParameters();
searchParms.setType("file");
List<String> ancIds = new ArrayList<String>();
ancIds.add(prod_Stand_id);
BoxMetadataFilter metadataFilter = new BoxMetadataFilter();
metadataFilter.addFilter("group", "2200");
metadataFilter.addFilter("source", "Grouper");
metadataFilter.setScope("global");
searchParms.setAncestorFolderIds(ancIds);
// searchParms.setQuery("P2200_Opera");
searchParms.setMetadataFilter(metadataFilter);
parItemInfo = search.searchRange(0,10,searchParms);`
The above code works if I comment this code searchParms.setMetadataFilter(metadataFilter);
It's not working with metadataFilter. Below error message is thrown.
{"type":"error","status":400,"code":"bad_request","help_url":"http://developers.box.com/docs/#errors","message":"Bad Request","request_id":"156750733257f40743d9cae"}
Metadata
Metadata
Assignees
Labels
bugAdded to issues that describes SDK bugAdded to issues that describes SDK bug