1. [Issue] TokenManagerException: expired refresh token during FablibManager initia

[Issue] TokenManagerException: expired refresh token during FablibManager initia

Home Forums FABRIC General Questions and Discussion [Issue] TokenManagerException: expired refresh token during FablibManager initia

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9611
    Plabon Dutta
    Participant

      Hi,

      I am encountering an authentication issue when trying to initialize FablibManager in my FABRIC Jupyter environment. When I run fablib = FablibManager(), it fails with the following traceback: TokenManagerException: Internal Server Error – (invalid_grant) expired refresh token (Full stack trace omitted for brevity, but it fails at token_manager.refresh_tokens)

      It appears the Credential Manager is rejecting the stored refresh token. Could someone advise on the recommended workflow to manually renew or reset my tokens so that the manager can initialize?

      Thanks!

      #9615
      Benjamin Formby
      Participant

        Hello,

        This technical guide https://learn.fabric-testbed.net/knowledge-base/obtaining-and-using-fabric-api-tokens/ describes how to generate new tokens manually and what to do if you see that expired token error. In short, you can try

        1. Restarting your jupyter hub or
        2. Manually generate a new token and paste it into /home/fabric/.tokens.json

        Reply back here if this doesn’t work or if you’re still having issues.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.