Re: Thunderbird 102, CardDAV, vCard version 4.0 (not 4.0 in my case)

"Ken Murchison via Info" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
The required VERSION property is missing. 


On Sat, Nov 26, 2022, at 3:03 PM, Łukasz Michalski wrote:
> I enabled dumpio in apache and error log contains:
>
> Request body:
> BEGIN:VCARD\r\nN:;WOPR;;;\r\nFN:WOPR\r\nTEL;TYPE=CELL:+48601100100\r\nUID:abc755cd-4f41-453a-a9d5-4f54d06e4e21\r\nNOTE:Pogotowie 
> wodne\r\nEND:VCARD\r\n
>
> Reply from cyrus:
> <?xml version="1.0" encoding="utf-8"?>\n<D:error xmlns:D="DAV:" 
> xmlns:C="urn:ietf:params:xml:ns:carddav"><C:valid-address-data/></D:error>\n
>
> The same card exported from Thunderbird to .vcf format:
>
> BEGIN:VCARD
> N:;WOPR;;;
> FN:WOPR
> TEL;TYPE=CELL:+48601100100
> UID:abc755cd-4f41-453a-a9d5-4f54d06e4e21
> NOTE:Pogotowie wodne
> END:VCARD
>
> Regards,
> Łukasz
>
> On 11/26/22 17:48, Adam Tauno Williams wrote:
>> On Thu, 2022-11-24 at 12:59 +0100, Łukasz Michalski via Info wrote:
>>> Hi, I think that I have the same problem.
>>> Thunderbird 102.4.2, cyrus-imapd 3.4.4-1 (archlinux, aur package).
>>> Log when I try to upload contact (user replaced with <myusername>):
>>> Nov 24 12:52:26 black cyrus/https[1435580]: localhost.localdomain
>>> [127.0.0.1] as "<myusername>" with "Mozilla/5.0 (X11; Linux x86_64;
>>> rv:102.0) Gecko/20100101 Thunderbird/102.4.2" via SESSIONID=<cyrus-
>>> 1669290746-1435580-1-8556906916262975492>; "PUT
>>> /dav/addressbooks/user/<myusername>/Default/20d6e36d-8b94-45d7-a6ce-
>>> ab8293add8f6.vcf HTTP/1.1" (origin=https://zork.pl; auth=Basic) =>
>>> "HTTP/1.1 403 Forbidden" [timing: cmd=0.006142 net=0.000036
>>> total=0.006178]
>>> Davx5 on android works ok.
>>> Any idea what to do next?
>> Can you try simulating the PUT with curl?  That's my go-to debugging
>> technique for these kinds of issues; then I can change one variable
>> (like headers, etc..) at a time and figure out what is the issue.
>>

-- 
Kenneth Murchison
Senior Software Developer
Fastmail US LLC
[email protected]

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T483046b295242881-M338313671fb59b9b441959ae
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.