โ09-12-2022 10:36 AM
Hi everyone,
We ran into an issue, I have setup connection with client id and client secret which will give me access token to call APIs, now the issue is after 24 hours the token was expired. So now I am not able to run my recipe without reconnecting my connection.
I have also setup refresh token logic in connector sdk code but somehow it is not working.
Can anyone help me with this? Does anyone found similar problem like setting up main token for 24hrs and then used refresh token for further API calls.
Thanks in advance.
โ09-12-2022 12:14 PM
The API that you are using should be providing an error code,
when an invalid token is used the normal process should be to call the new token issuing steps before proceeding further.
So I think it is more about how you write the recipe.