Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-4227

When searching for a contact that doesn't exist via the REST API, you get back an error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      When you search for a contact (at least by e-mail address, haven't tested other methods) via the REST API that does not exist in the database, you get back an error saying: "Could not interpret return values from function."

      This should not give an error, just an empty result set. (I.e. is_error should == 0).

      I'll see if I can hunt down the problem and fix it if possible.

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              cap10morgan Wes Morgan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: