Welcome to the new Box Support website. Check out all the details here on what’s changed.

Using Metadata

New post

Comments

1 comment

  • mbehn-box

    Hi ,

     

    A 400 indicates a bad request which in this case, indicates an issue with the input provided to the SearchAsycnc method. At first glance of your code, it looks like the Filters object might not be in the correct format. Take a look at this example snippet which sets up the same kind of filter and see if it helps get you going.

    https://github.com/box/box-windows-sdk-v2/blob/673f11255f14c074a3119e4478d71102f9181aae/README.md#search-using-metadata

     

    It also looks like the templateKey value is invalid. The template key should be camel case and also be a valid Metadata template that exists in your enterprise. You can get more info on Metadata (including how to get available templateKeys) with the API from the Box Developer Site here.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.