As I wrote, you need to specify an application ID when instantiating the manager:
https://bugs.launchpad.net/ubuntu/+source/online-accounts- api/+bug/1638769/comments/7 -- You received this bug notification because you are a member of Ubuntu WebApps bug tracking, which is subscribed to online-accounts-api in Ubuntu. https://bugs.launchpad.net/bugs/1643732 Title: service() method returns invalid service instance Status in online-accounts-api package in Ubuntu: New Bug description: I have a Google Drive account configured. When I call GetAccounts(), the account is returned, and calling the service() method on the account returns a Service instance. But that instance returns false from isValid(), its id(), displayName(), and iconSource() methods return an empty string. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/online-accounts-api/+bug/1643732/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp

