Hi
I’ve been using insync-headless 1.x on my home server with Google Drive for a few years without issue. I noticed a few weeks ago however that files were no longer being synced. I tried various troubleshooting steps without luck.
In the end I decided to remove the account and start fresh (as advised on this forum). However now I can’t seem to authorise Insync with Google. Here are the steps I followed:
- Stopped insync-headless and removed
~/.config/Insync
- Removed Insync from https://myaccount.google.com/u/0/permissions
- Generated a new auth code from https://insynchq.com/auth
- Tried the new auth code with insync-headless and got the following errors:
Error: (401, '{\n "error": "unauthorized_client",\n "error_description": "Unauthorized"\n}')
Sometimes I get the following (usually this error appears if I try to run it a second time)
Error: (400, '{\n "error": "invalid_grant",\n "error_description": "Bad Request"\n}')
I noticed that Insync is no longer appearing in https://myaccount.google.com/u/0/permissions after I generate a new auth code. Could this be the issue? Any way to resolve this? I tried adding it several times.
Or has something changed in insync-headless 1.x?
Many thanks.
EDIT:
Adding some more info if it helps:
- OS: Debian 12 Bookworm
- insync-headless: v1.5.7.37371