function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VenkatGPVenkatGP 

Validate Access token

How do we validate an access token for validity using REST API (to check if access token has expired)?

Jon WilberJon Wilber
Per Salesforce docs you basically make requests until the request fails due to the token expiring.  After it expires, you refresh the access token and re-send the request.