Google Drive: integration worked, but the user revoked access
There are folders and document names in CRM, but opening or saving them suddenly stopped working.
Why is there a problem?
The authorization can expire, the owner can change the permissions of the folder or the Workspace administrator limit the application.
Diagnostics and solutions
1. Separate the account authorization error from the permission error of a specific folder.
2 . Check on which account the integration works and on which account the folder is located.
3 . Confirm OAuth approval range and current Workspace rules, if applicable.
4 . After reauthorization, test the reading and recording separately.
5 . Add recording of the status of the connection and a visible message of need for re-approval.
How to check and avoid what?
The new file is saved and opened and the user sees a readable message on the next withdrawal of the consent.
Do not give integration more powers than needed only to avoid error.