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 org.openmrs.module.webservices.rest.web.representation.NamedRepresentation@519aa9f2]” code": “org.openmrs.module.webservices.rest.web.ConversionUtil:409”
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.