I would like to implement google carddav synchronization. I have already implemented google caldav synchronization with OAuth2.0. But When I am going to sync with Google CardDav, I got "Insufficient Permission." Are there any expert google developer who can help me?
Asked
Active
Viewed 111 times
1 Answers
0
Two things come to mind:
- Have you enabled the APIs on Google API Console when creating the token for your application? Maybe you need to enable CalDAV API in addition to Contacts API?
- Are you asking for a sufficient scope when requesting the OAuth token?
But honestly, I'd go with Google Contacts API or the newer People API to synchronize the contacts, because:
- With CardDAV, there is always going to be some disparity with how Google Contacts work and how CardDAV is designed to work.
- As far as I know, there's not much incentive to improve the Google's implementation of CalDAV/CardDAV, although are relevant issues to fix (see the issue tracker at https://issuetracker.google.com/issues?q=caldav - not much happening there)
- Google Contacts API / People API is actively supported and official libraries are provided for Java, .Net and Python.

grepfruit
- 181
- 9