Forum Discussion
Refresh Token Expiry
Anonymous if the notebook is run on a schedule, the token expiry still happens. But if I run the notebook is run from while inside it, then the token does not expire.
I want to run the notebook on a schedule.
- Anonymous1 year agoNot applicable
HI smpa01,
As you said, it seems like these setting does not enable when you setting schreuder on it. Have you tried to use high concurrency mode to processing your notebook, it should allow to use more resource on it.
Regards,
Xiaoxin Sheng
- smpa011 year agoCommunity Champion
Unfortunately nothing is working, on scheduled job , the token is getting expired around 63-66 min mark (with 90 min timeout session default). I am also not sure if you can defualt a notebook to run with a HC mode. I can only turn on HC mode when inside it.
It is probably because, if I follow this , I get
{ "token_type": "Bearer", "expires_in": 3599, "ext_expires_in": 3599, "access_token": "loremIpsum" }How can I refresh this token or get access to a reresh token that can be used to API calls nearing 60 min mark
- FabianSchut1 year agoSolution Sage
Hi smpa01,
When do you create the Bearer token and do you re-use the Bearer token over multiple notebook sessions? If you do, you may retrieve the Bearer token in every session instead, so you are less likely to exceed the 1h limit of the Bearer token.