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

Getting an Error when creating a User Access Tokens without SDKs

New post

Comments

1 comment

  • jcleblanc

    Hi ,

     

    Without seeing the code and just the error, my first assumption is that you're not properly catching potential errors from the Promise.

     

    It should look something like this:

     

    async function one() {
      try {    
        await Promise.reject('err');
      } catch (e) {
         // e caught here
      }
    }
    0
    Comment actions Permalink

Please sign in to leave a comment.