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

Error when using box generated API Keys in Java SDK

New post

Comments

1 comment

  • jcleblanc

    Hi ,

     

    This can be due to a few things - if the below suggestions don't provide a solution if you could provide your Java code we can dig further.

     

    When you download the auto-generated config file, are you extracting the key from inside that file and trying to use that as the key? If so that would probably be the issue.

     

    When using the downloaded config file, please try to generate the token like so: https://box.dev/en/guides/authentication/jwt/with-sdk/#1-read-json-configuration

     

    Thanks,

    Jon

    0
    Comment actions Permalink

Please sign in to leave a comment.