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

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.