Getting error while adding Google Account

Hi Team,

We are using Linux Redhat OS. When we are trying to add the Insync account getting the error message. Below are the steps:

  1. Login to the Linux server
  2. Copy the insync authorization code from the URL:https://insynchq.com/auth by entering the Google Account
  3. Execute the command: insync-headless add_account -a -p /home/pimapi/insync
    After executing the above command getting the below error message:
    Error: (401, ‘{\n “error”: “unauthorized_client”,\n “error_description”: “Unauthorized”\n}’)

Requesting you to help us on this issue.

Thanks,
Murthy Kalaga

Hi! This looks like the same issue here.

Could you confirm your Insync-headless version?

Hi Mia,
Thanks for your quick responce.
Currently we are using the Insync-headless version 1.3.14.36131.
OS Version :
NAME=“Red Hat Enterprise Linux Server”
VERSION=“7.7 (Maipo)”
I understand that the above link is not answered/solution is not offered.
Requesting you to help me on this.

Thanks,
Murthy Kalaga

@murthyk06 I’ll check the compatibility of the OS with regards to the headless version you’re using. I will confirm with our engineers first and I’ll update you once I know more.

Could you let me know if this issue persists on 1.5.7-headless?

Hi Mia,

We are running the Insync-headless version 1.3.14.36131 and not installed 1.5.7-headless.

Thanks,
Murthy Kalaga

@murthyk06 Could you let me know if the same issue persists on 1.5.7-headless?

Hi,
Just understand that we have modified our email domain and after trying with the new email address we are getting this error in TEST. But when we check in QA and Prod no issues. But we need to fix this in TEST and implement the same in Prod at the earliest. So requesting you to help us how to add insync for the new email address.

@murthyk06 Abandon all hope if you try to use Insync for this.

1.5.7 headless should be considered abandonware. I and another user ran into the same issue.

@mia keeps asking for logs, but it shouldn’t be necessary. This is an easily replicable bug that all three of us have experienced on the RHEL/CentOS 7 platform. It’s clear that Insync just doesn’t support it. You can’t even find builds of 1.5.7 headless with the proper dependencies for RHEL/CentOS 7–just Fedora builds that are incompatible with the backported RHEL/CentOS versions of the dependencies.

@Nick_Jones1 @murthyk06 For what it’s worth, I went ahead and mounted Google Drive via rclone on CentOS 7.9, and it works great. You can mount the data as a filesystem with FUSE.

1 Like

Hi Mia,

Currently we are using the Insync-headless version 1.3.14.36131.
OS Version :
NAME=“Red Hat Enterprise Linux Server”
VERSION=“7.7 (Maipo)”

i am planning to download the Insync Headless 3 version but not able find exactly what needs to be dlowloaded for server version. If i download deb file then in my server apt-get install command not found. So please help me the navgation to download the compatiable file.

Thanks,
Murthy Kalaga

@murthyk06 Hello! We currently don’t have a build yet that’s compatible with RHEL on Insync 3.x-headless, but could you let me know if you’ve tried the Fedora 27 build?

Hi mia,

When i try to install Fedora 27 build, getting the below error msgs.

Please help me how to proceed further on this.

[pimapi@pim-t-tst-nodeapi-server ~]$ sudo yum install ./insync-headless-3.2.6.10745-fc31.x86_64.rpm
[sudo] password for pimapi:
Loaded plugins: product-id, search-disabled-repos
Examining ./insync-headless-3.2.6.10745-fc31.x86_64.rpm: insync-headless-3.2.6.10745-fc31.x86_64
Marking ./insync-headless-3.2.6.10745-fc31.x86_64.rpm as an update to insync-headless-1.3.14.36131-fc17.x86_64
Resolving Dependencies
–> Running transaction check
—> Package insync-headless.x86_64 0:1.3.14.36131-fc17 will be updated
—> Package insync-headless.x86_64 0:3.2.6.10745-fc31 will be an update
–> Processing Dependency: glibc >= 2.30 for package: insync-headless-3.2.6.10745-fc31.x86_64
epel/x86_64/metalink | 19 kB 00:00:00
epel | 4.7 kB 00:00:00
insync | 2.9 kB 00:00:00
ius | 1.3 kB 00:00:00
nodesource | 2.5 kB 00:00:00
(1/2): epel/x86_64/updateinfo | 1.0 MB 00:00:00
(2/2): epel/x86_64/primary_db | 7.0 MB 00:00:00
–> Finished Dependency Resolution
Error: Package: insync-headless-3.2.6.10745-fc31.x86_64 (/insync-headless-3.2.6.10745-fc31.x86_64)
Requires: glibc >= 2.30
Installed: glibc-2.17-292.el7.i686 (@rhui-REGION-rhel-server-releases)
glibc = 2.17-292.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

[pimapi@pim-t-tst-nodeapi-server ~]$ sudo yum install ./insync-headless-3.2.6.10745-fc31.x86_64.rpm --skip-broken
Loaded plugins: product-id, search-disabled-repos
Examining ./insync-headless-3.2.6.10745-fc31.x86_64.rpm: insync-headless-3.2.6.10745-fc31.x86_64
Marking ./insync-headless-3.2.6.10745-fc31.x86_64.rpm as an update to insync-headless-1.3.14.36131-fc17.x86_64
Resolving Dependencies
–> Running transaction check
—> Package insync-headless.x86_64 0:1.3.14.36131-fc17 will be updated
—> Package insync-headless.x86_64 0:3.2.6.10745-fc31 will be an update
–> Processing Dependency: glibc >= 2.30 for package: insync-headless-3.2.6.10745-fc31.x86_64

Packages skipped because of dependency problems:
insync-headless-3.2.6.10745-fc31.x86_64 from /insync-headless-3.2.6.10745-fc31.x86_64
You have mail in /var/spool/mail/pimapi

Hi Mia,
Could you please provide an update on my previous post?
Thanks,
Murthy Kalaga

Thank you for your patience.

As per our engineer, we confirm that the issue above is expected due to the following:

  • Google API deprecated the oauth on 1.x, hence the error you have encountered
  • There is currently no official RHEL support on Insync 3.x.

These findings align with this comment above with regards to the compatibility issues. We truly apologize for the inconvenience. I have raised a feature request to support RHEL on Insync.