Hello rajakta-8530,
The error message you are encountering while creating a REST linked service to access Google Sheet data is due to an incorrect token endpoint.
The token endpoint URL for Google OAuth 2.0 is https://oauth2.googleapis.com/token
and please make sure the client ID and client secret are correct and match the ones generated in the google cloud.
also, If the access token is expired, you need to generate a new access token.
I hope this helps. Please let me know if you have any further questions.