carddav propfind request : The server returns current user principal path in the response to propfind request from client. But on IPAD there is an error thrown saying "Account can have only one user principal". When this error would occur?

Carddav Propfind request.


I am placing carddav propfind response for the request sent from carddav client on IPAD. The current user principal is set in the response. But i could see an

error message logged in IPAD saying "An account should have a single user principal". Please let me know when such an error is raised from carddav client on IPAD?

iPad

Posted on Mar 5, 2013 7:55 PM

Reply
1 reply

Mar 5, 2013 9:15 PM in response to lakshmi_gvcs

The request from IPAD is as follws:


<?xml version="1.0" encoding="UTF-8" ?>

- <A:propfind xmlns:A="DAV:">
- <A:prop>
<A:current-user-principal />
<A:principal-URL />
<A:resourcetype />

</A:prop>

</A:propfind>


The response being sent is:


<?xml version="1.0" encoding="utf-8" ?>

- <D:multistatus xmlns:D="DAV:" xmlns:CS="http://calendarserver.org/ns/" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:CR="urn:ietf:params:xml:ns:carddav" xmlns:ICAL="http://apple.com/ns/ical/" xmlns:ME="http://me.com/_namespace/">
- <response>
<D:href>/.well-known/carddav/principals/uname/</D:href>
- <propstat>
- <prop>
- <D:current-user-principal>
<D:href>/.well-known/carddav/principals/uname/</D:href>

</D:current-user-principal>

- <D:principal-URL>
<D:href>/.well-known/carddav/principals/uname/</D:href>

</D:principal-URL>

</prop>

<status>HTTP/1.1 200 OK</status>

</propstat>

- <propfind>
- <prop>
<status>HTTP/1.1 404 Not Found</status>

</prop>

</propfind>

</response>

</D:multistatus>


Can you please suggest why the error "An account should have a single user principal is thrown"?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

carddav propfind request : The server returns current user principal path in the response to propfind request from client. But on IPAD there is an error thrown saying "Account can have only one user principal". When this error would occur?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.