OAuth Token Expired Error

Hi everyone,

I hope someone can help me out here. I’m currently using the Freshworks API for my application, and I’ve run into a bit of a snag. Everything was working fine until today when I started getting an error message stating “OAuth Token Expired.

I’ve double-checked my code and the implementation, but I can’t seem to figure out what’s going wrong. Below is a detailed description of the issue and what I’ve tried so far.

The error message I’m getting is:

Error: OAuth Token Expired

Details:
The OAuth token used for authentication has expired and is no longer valid.

This error started appearing suddenly, even though the token was refreshed not too long ago. My application relies heavily on making authenticated requests to the Freshworks API, so this is causing significant disruption. When I search about this I came across articles/resources best generative ai courses Custom app session with Oauth token not triggering login after expiry, and as per them, I sent a POST request to the token endpoint with the necessary parameters (client_id, client_secret, refresh_token, grant_type set to refresh_token).

But still getting the same issue. Kindly help me to get of this error.

Thanks

Hi @nivaswani

Did you configure OAuthFlow in your project? If yes, can you share the code in the oauth_config.json file? Please mask if it has any secure data before sharing.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.