Gsuite : Requested Entity Was Not Found

How to resolve the error received while trying to access google sheets Gsuite activities, it is not permitting to read or write data in sheets ? Error Message : Requested entity not found

The error Requested entity was not found is a response that is received from the Google API servers when the details like Sheet ID, Spreadsheet ID etc do not match with any of the entities(sheets) available under the target Google account.

Verify the SpreadsheetID value along with the SheetName value. Also, ensure that the provided value is exactly the same as available in the sheet URL.

If all of these configurations are correct, then try to use the same API(Write Range/Read Range) from Postman and compare the two. Refer to the following document for reference on Google Sheets API endpoints .