Hi,
I am using the basicClient with a never expiring token to set up my box client on Node:
And I am able to get both embed and download URLs locally. However, when I deploy to GCP, I keep getting the following errors (even though I have set the proper BOX_TOKEN in my production secrets):
Expired Auth: Auth code or refresh token has expired [401 Unauthorized
statusCode: 401,
'www-authenticate': 'Bearer realm="Service", error="invalid_token", error_description="The access token provided is invalid."'
'BOX-REQUEST-ID',
'0e4b406acf7dcc138ab7e055d3a9bf4f3'
authExpired: true
I am using the same token with a rails backend and it is working fine.
Any ideas what could be going on?