Get Files: GoogleJsonResponseException: 401 Unauthorized
{
'code' : 401,
'errors' : [ {
'domain' : 'global',
'location' : 'Authorization',
'locationType' : 'header',
'message' : 'Active session is invalid. Error code: 4',
'reason' : 'authError'
} ],
'message' : 'The caller does not have permission',
'status' : 'PERMISSION_DENIED'
}
Get Events: Success
Get Users: Success
The cx guesses the problem is that he is disabling the 'Drive and Docs' in Google Workspace, but he can't find any documantation that supports this theory.
Kindly suggest me the approach for this case.
Many thanks!