Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

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.