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

issue returning value from client.folders.getItems

New post

Comments

1 comment

  • Nbarnes2

    just to close the loop for anyone that comes accross this, there is a conflict with the syncronus and asyncronus portions of code. the ".getItems" method needs to be awaited in order to return all the items, so the whole function needs to be wrapped in a a async function in order to properly wait and use the information. 

     

    sorry for the new to javascript error. 

    0
    Comment actions Permalink

Please sign in to leave a comment.