Getting error while searching contact in freshdesk

  • 31 August 2015
  • 1 reply
  • 21 views

"contacts.json/"+ urllib.urlencode({"query": "mobile is %s" % contact_number })


Pls let me know when I get this kind of error while accessing contact list.


This topic has been closed for comments

1 reply

Hi Kuldeep,


Please double check to make sure that the query format is correct. I see a few discrepancies. I am including the relevant section from our API docs.


/contacts.json?query=<condition>
Example:
/contacts.json?query=email is user@yourcompany.com
[Note: Do an url encode of the query string]