# Error autheticating with Insyc-Headless

**URL:** <https://forums.insynchq.com/t/error-autheticating-with-insyc-headless/8566>\
**Category:** Linux\
**Tags:** error, authentication, issue, headless\
**Created:** [February 9, 2017, 6:56pm UTC](https://forums.insynchq.com/t/error-autheticating-with-insyc-headless/8566 "2017-02-09T18:56:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beryllium](https://forums.insynchq.com/user_avatar/forums.insynchq.com/beryllium/32/3450_2.png) [@Beryllium](https://forums.insynchq.com/u/Beryllium)\
**Post date:** [February 9, 2017, 6:56pm UTC](https://forums.insynchq.com/t/error-autheticating-with-insyc-headless/8566/1 "2017-02-09T18:56:06Z")

</div>

I’m having issues authenticating with the headless Linux client.  
I’m able to add\_account successfully, however after doing so no syncing occurs and ‘manage\_selective\_sync’ throws a error saying ‘authError’.

Starting with the ‘–no-daemon’ flag returns the following error message.

```
INFO 2017-02-09 10:51:03,059 [__init__ :info:1610] insync version: 1.3.14.36131
INFO 2017-02-09 10:51:03,060 [__init__ :info:1610] client created <ideskmain.client.Client object at 0x22ebb90>
INFO 2017-02-09 10:51:03,061 [__init__ :info:1610] unix socket server thread start
INFO 2017-02-09 10:51:03,061 [__init__ :info:1610] starting client
INFO 2017-02-09 10:51:03,065 [__init__ :info:1610] LinuxFSWatcher._start
INFO 2017-02-09 10:51:03,066 [__init__ :info:1610] Inotify loop enter
INFO 2017-02-09 10:51:03,068 [__init__ :info:1610] Syncing GDUser(id=u'104202020526293411761', email=u'fu@bar.com', name=u'FuBar').
INFO 2017-02-09 10:51:03,090 [__init__ :info:1610] watch origin: /mass
ERROR 2017-02-09 10:51:03,093 [__init__ :error:1584] Uncaught error from <Greenlet at 0x2116910: <bound method GDState.get_user_info of <idesksyncer.gdstate.GDState object at 0x7f93c4086a90>>>
Traceback (most recent call last):
  File "gevent/greenlet.py", line 390, in run
  File "idesksyncer/gdstate.py", line 201, in get_user_info
  File "idesksyncer/gdclient.py", line 1040, in get_user_info
  File "idesksyncer/gdclient.py", line 540, in __request
  File "idesksyncer/gdclient.py", line 354, in get_token
  File "gevent/event.py", line 223, in get
GDAuthError: Access token refresher stopped.
INFO 2017-02-09 10:51:03,096 [__init__ :info:1610] unwatching /mass
INFO 2017-02-09 10:51:03,097 [__init__ :info:1610] GDUser(id=u'104202020526293411761', email=u'fu@bar.com', name=u'FuBar') (existing) is now being synced.

```

Removing the account, refreshing the token, and adding it again produces the same results.

---

<div class="post-metadata">

**Author:** ![lpugoy](https://forums.insynchq.com/user_avatar/forums.insynchq.com/lpugoy/32/42_2.png) [@lpugoy](https://forums.insynchq.com/u/lpugoy)\
**Post date:** [February 10, 2017, 6:09am UTC](https://forums.insynchq.com/t/error-autheticating-with-insyc-headless/8566/2 "2017-02-10T06:09:16Z")

</div>

@Beryllium: Apologies for the trouble. Please send a copy of the folder `~/.config/Insync` to [support@insynchq.com](mailto:support@insynchq.com) for investigation. You can compress it before sending to save space.

---

<div class="post-metadata">

**Author:** ![roboton](https://forums.insynchq.com/letter_avatar_proxy/v4/letter/r/85e7bf/32.png) [@roboton](https://forums.insynchq.com/u/roboton)\
**Post date:** [January 29, 2018, 9:39pm UTC](https://forums.insynchq.com/t/error-autheticating-with-insyc-headless/8566/3 "2018-01-29T21:39:13Z")

</div>

I’m having the same problem. Was there a solution to this?

---

<div class="post-metadata">

**Author:** ![CNG](https://forums.insynchq.com/user_avatar/forums.insynchq.com/cng/32/3797_2.png) [@CNG](https://forums.insynchq.com/u/CNG)\
**Post date:** [January 27, 2019, 1:52am UTC](https://forums.insynchq.com/t/error-autheticating-with-insyc-headless/8566/4 "2019-01-27T01:52:43Z")

</div>

I’m also having this error now and I can no longer sync any files or even use the UI as a result.

---

<div class="post-metadata">

**Author:** ![mia](https://forums.insynchq.com/user_avatar/forums.insynchq.com/mia/32/4401_2.png) [@mia](https://forums.insynchq.com/u/mia)\
**Post date:** [January 29, 2019, 8:14am UTC](https://forums.insynchq.com/t/error-autheticating-with-insyc-headless/8566/5 "2019-01-29T08:14:59Z")

</div>

So sorry for the trouble! Tagging our engineer @Kurt_Ko for further assistance.
