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

name 'BoxAPIException' is not defined

Answered
New post

Comments

2 comments

  • dkadia

    The code worked when i changed my Exception class from BoxAPIException to Exception.

     

    0
    Comment actions Permalink
  • mwiller

     You could also add the following code to your file, to ensure that the name is defined:

     

    from boxsdk.exception import BoxAPIException
    0
    Comment actions Permalink

Please sign in to leave a comment.