0 Replies Latest reply: Apr 11, 2008 4:37 PM by 559068 RSS

    fetchContactsByUID()

    559068
      I was trying to use fetchContactsByUID() to get all contacts for a particular user. I got the following exception:
      fetchContactsByUID returned status'oracle.calendar.sdk.Api$StatusException: CAPI_STAT_DATA_UID_NOTFOUND'
      I know the user exists and has contacts.
      I then tried to run the CSDKCalendar that's shipped with the SDK. I authenticated as the same user and then try to get contact info of the user and got the same error:

      Fetch failed : oracle.calendar.sdk.Api$StatusException: CAPI_STAT_DATA_UID_NOTFOUND
      <REQUESTRESULT>
      <RESULT>
      <UID>yuelu</UID>
      <STATUS>CAPI_STAT_DATA_UID_NOTFOUND</STATUS>
      </RESULT>
      <FAILURE>
      <UID>yuelu</UID>
      <STATUS>CAPI_STAT_DATA_UID_NOTFOUND</STATUS>
      </FAILURE>
      </REQUESTRESULT>

      I am using 10G SDK again 9.0.4.2 server. Is this combination not supported? I was able to Fetch events by range.

      Thanks for any help.

      Yue