Box Node API : Token Expired on prod

Answered
New post

Comments

1 comment

  • jcleblanc

    Hi Adam,

    With all Box tokens, they will inevitably expire. Typically with most tokens (e.g. JWT, developer token, OAuth 2 token) that will be 60 minutes before it needs to be refreshed. When using the basic client I believe what might be happening is that the token is expiring and the Node SDK might not be able to handle the automatic refresh for you. 

    For instance, if you're using a developer token then that token will expire after an hour and will not be able to be programmatically refreshed. All other tokens will need to be refreshed after that 60min period.

    Hope that helps.

    0
    Comment actions Permalink

Please sign in to leave a comment.