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

Handling oauth2 token expiration on CircleCI builds

New post

Comments

2 comments

  • jcleblanc

    Hi ,

     

    The issue here is most likely due to token expiration. Our access tokens will be valid for 60 minutes, then will need to be refreshed. Given that your runs are several hours apart then the token will expire during that time. Our SDKs provide automatic refresh capabilities but if that's not an option in CircleCI then yes, you'll need to manually refresh those tokens every hour.

     

    - Jon

    0
    Comment actions Permalink
  • Slv_

    Hey , thanks for the insights. This was a problem with the way our rclone config was being stored in regards the box tokens. Solved and now things are working well. Thanks!

    0
    Comment actions Permalink

Please sign in to leave a comment.