Skip to main content

API Token Connection Error with Box

  • June 21, 2024
  • 1 reply
  • 61 views

I am currently using a Box trial account and have connected the API to another application. However, the connection only works for about 1 hour before being lost. I would like to ask if this is the way Box’s algorithm works or a limitation of the trial account. Thank you for your help.

1 reply

rbarbosa Box
  • Developer Advocate
  • 553 replies
  • June 24, 2024

Hi @user249

Welcome to the forum.

That is unrelated, however all access tokens have a life span of 60 minutes, independently of application type (OAuth, CCG, JWT).

If you are using one of our SDKs, they detect when the token is about to expire and automatically refresh it. The same works for our REST API if you use one of our postman collections.

The only exception is the developer token, that must be refreshed using the developer console.

Let us know if this helps.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings