code": "" for patient search.

Hi, I have been working on setting up a patient search functionality as part of my module and am getting this error-code while testing on postman.

“message”: “[converting class org.openmrs.Patient to]” code": “”

I have added the needed authentication and am using the url http://localhost:8080/openmrs/ws/rest/v1/patient?q=Sarah&v=default=&limit=1.

I’m not sure what I am doing wrong and would appreciate any help. Thank you.

Share the server side log via

Also mention the version of openmrs platform and webserviesrest module that you are running.

I’m running OpenMRS version 2.3.2 Build 437b7f and REST ws module 2.29.0.b675eb. Here’s the server log, Server log - .

It seems that the other calls work fine like the list users and get session api calls but this search for patient isn’t.

Use this:


Thank you @dkayiwa . It works now