This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Trying to add Google CardDAV directory of contact fails validation

more options

I tried to add as remote address book in Thunderbird a google account using CardDAV and providing the CardDAV URL, the Google username and the password and fails validation. From Log Viewer:

" 2023.07.03 14:22:01:991 : Validation module : Validating without discovery request on https://www.googleapis.com/carddav/v1/principals/directory@swiss-property.ch/lists/default/ … 2023.07.03 14:22:02:070 : Validation module : Impossible to parse the server response because of this line : { ^ 2023.07.03 14:22:03:015 : Validation module : debug mode : cardbookServerDiscoveryRequest : 1 2023.07.03 14:22:03:017 : Validation module : debug mode : cardbookServerDiscoveryResponse : 1 2023.07.03 14:22:03:018 : Validation module : debug mode : cardbookServerDiscoveryError : 1 2023.07.03 14:22:03:019 : Validation module : debug mode : cardbookServerValidation : [object Object] 2023.07.03 14:22:03:026 : Validation module : Discovering phase 1 request on https://www.googleapis.com/carddav/v1/principals/directory@swiss-property.ch/lists/default/ … 2023.07.03 14:22:03:078 : Validation module : Impossible to parse the server response because of this line : { ^ 2023.07.03 14:22:04:048 : Validation module : debug mode : cardbookServerDiscoveryRequest : 1 2023.07.03 14:22:04:051 : Validation module : debug mode : cardbookServerDiscoveryResponse : 1 2023.07.03 14:22:04:055 : Validation module : debug mode : cardbookServerDiscoveryError : 1 2023.07.03 14:22:04:056 : Validation module : debug mode : cardbookServerValidation : [object Object] 2023.07.03 14:22:04:066 : Validation module : Discovering phase 1 request on https://www.googleapis.com/carddav/v1/principals/directory@swiss-property.ch/lists/default/.well-known/carddav … 2023.07.03 14:22:04:099 : Validation module : Impossible to parse the server response because of this line : -----------^ 2023.07.03 14:22:05:077 : Validation module : debug mode : cardbookServerDiscoveryRequest : 1 2023.07.03 14:22:05:079 : Validation module : debug mode : cardbookServerDiscoveryResponse : 1 2023.07.03 14:22:05:080 : Validation module : debug mode : cardbookServerDiscoveryError : 1 2023.07.03 14:22:05:081 : Validation module : debug mode : cardbookServerValidation : [object Object] " I am using Thunderbird 102.12.0 (64-bit) on Ubuntu 22.04 LTS. Please note that I could do without problems exactly the same operation (exactly the same CardDAV URL, Google username and the password) about 2 months ago using a slightly older version of Thunderbird. Also just logging in in Google in Firefox with the username and the password of the remote address book works fine and I can see all the contacts. So this problem looks like a bug introduced very recently in Thunderbird that was not happening 2 months ago or so. This makes Thunderbird unusable for me, so until this is fixed I will switch back to Evolution. Please let me know when fixed or if you have another solution. Thanks.

I tried to add as remote address book in Thunderbird a google account using CardDAV and providing the CardDAV URL, the Google username and the password and fails validation. From Log Viewer: " 2023.07.03 14:22:01:991 : Validation module : Validating without discovery request on https://www.googleapis.com/carddav/v1/principals/directory@swiss-property.ch/lists/default/ … 2023.07.03 14:22:02:070 : Validation module : Impossible to parse the server response because of this line : { ^ 2023.07.03 14:22:03:015 : Validation module : debug mode : cardbookServerDiscoveryRequest : 1 2023.07.03 14:22:03:017 : Validation module : debug mode : cardbookServerDiscoveryResponse : 1 2023.07.03 14:22:03:018 : Validation module : debug mode : cardbookServerDiscoveryError : 1 2023.07.03 14:22:03:019 : Validation module : debug mode : cardbookServerValidation : [object Object] 2023.07.03 14:22:03:026 : Validation module : Discovering phase 1 request on https://www.googleapis.com/carddav/v1/principals/directory@swiss-property.ch/lists/default/ … 2023.07.03 14:22:03:078 : Validation module : Impossible to parse the server response because of this line : { ^ 2023.07.03 14:22:04:048 : Validation module : debug mode : cardbookServerDiscoveryRequest : 1 2023.07.03 14:22:04:051 : Validation module : debug mode : cardbookServerDiscoveryResponse : 1 2023.07.03 14:22:04:055 : Validation module : debug mode : cardbookServerDiscoveryError : 1 2023.07.03 14:22:04:056 : Validation module : debug mode : cardbookServerValidation : [object Object] 2023.07.03 14:22:04:066 : Validation module : Discovering phase 1 request on https://www.googleapis.com/carddav/v1/principals/directory@swiss-property.ch/lists/default/.well-known/carddav … 2023.07.03 14:22:04:099 : Validation module : Impossible to parse the server response because of this line : <html lang=en> -----------^ 2023.07.03 14:22:05:077 : Validation module : debug mode : cardbookServerDiscoveryRequest : 1 2023.07.03 14:22:05:079 : Validation module : debug mode : cardbookServerDiscoveryResponse : 1 2023.07.03 14:22:05:080 : Validation module : debug mode : cardbookServerDiscoveryError : 1 2023.07.03 14:22:05:081 : Validation module : debug mode : cardbookServerValidation : [object Object] " I am using Thunderbird 102.12.0 (64-bit) on Ubuntu 22.04 LTS. Please note that I could do without problems exactly the same operation (exactly the same CardDAV URL, Google username and the password) about 2 months ago using a slightly older version of Thunderbird. Also just logging in in Google in Firefox with the username and the password of the remote address book works fine and I can see all the contacts. So this problem looks like a bug introduced very recently in Thunderbird that was not happening 2 months ago or so. This makes Thunderbird unusable for me, so until this is fixed I will switch back to Evolution. Please let me know when fixed or if you have another solution. Thanks.

Modified by valentin.brasov

Chosen solution

Actually I just solved my problem: I had add-on enabled for CardDAV: CardBook by Philippe V. (https://gitlab.com/CardBook/CardBook). Once I disabled it, I could add the above remote address book.

Read this answer in context 👍 0

All Replies (1)

more options

Seçilmiş Həll

Actually I just solved my problem: I had add-on enabled for CardDAV: CardBook by Philippe V. (https://gitlab.com/CardBook/CardBook). Once I disabled it, I could add the above remote address book.