Google contacts API is not working for a long time due to undocumented changes made by Google.
Adrian > On 27 Mar 2020, at 16:12, Alberto <alberto.rina...@gmail.com> wrote: > > Hi, > I've configured access to my google contacts, I have 2FA enabled. > The procedure terminated correctly, but when I restart blink it shows this > error: > > ERROR [main] Unhandled exception in notification observer > <blink.contacts.GoogleContactsManager object at 0x7fd50b84b950> while > handling notification 'GoogleAuthorizationWasAccepted' > ERROR [main] Traceback (most recent call last): > ERROR [main] File > "/app/lib/python2.7/site-packages/application/notification.py", line 211, in > post_notification > ERROR [main] observer.handle_notification(notification) > ERROR [main] File "/app/lib/python2.7/site-packages/blink/contacts.py", > line 945, in handle_notification > ERROR [main] handler(notification) > ERROR [main] File "/app/lib/python2.7/site-packages/blink/contacts.py", > line 951, in _NH_GoogleAuthorizationWasAccepted > ERROR [main] self._service = build('people', 'v1', > credentials=notification.data.credentials, http=Http(timeout=10), > cache_discovery=False) # todo: what's the best fix for cache? > ERROR [main] File > "/app/lib/python2.7/site-packages/googleapiclient/_helpers.py", line 134, in > positional_wrapper > ERROR [main] return wrapped(*args, **kwargs) > ERROR [main] File > "/app/lib/python2.7/site-packages/googleapiclient/discovery.py", line 235, in > build > ERROR [main] client_options=client_options > ERROR [main] File > "/app/lib/python2.7/site-packages/googleapiclient/_helpers.py", line 134, in > positional_wrapper > ERROR [main] return wrapped(*args, **kwargs) > ERROR [main] File > "/app/lib/python2.7/site-packages/googleapiclient/discovery.py", line 345, in > build_from_document > ERROR [main] raise ValueError("Arguments http and credentials are > mutually exclusive.") > ERROR [main] ValueError: Arguments http and credentials are mutually > exclusive. > > Do you know what's wrong with it? > Thanks > > _______________________________________________ > Blink mailing list > Blink@lists.ag-projects.com > https://lists.ag-projects.com/mailman/listinfo/blink _______________________________________________ Blink mailing list Blink@lists.ag-projects.com https://lists.ag-projects.com/mailman/listinfo/blink