Hi,
I am running the latest EHRbase using standard docker-compose file. Getting 500 - internal server error for the following APIs
/ehrbase/rest/ecis/v1/template/{{template_id}}/example?format=FLAT&exampleFilter=OUTPUT
/ehrbase/rest/ecis/v1/template/{{template_id}}
Can someone tell me where I am making a mistake? Are the paths correct?
regards
Hi Dileep,
to get a clearer picture: have you tried with different templates?
@birger.haarbrandt My bad. I had tried with only one template and again I had a mistake in the templateId in the above APIs. They are working when I gave the correct templateId.
On a related note, “templateId not found” response would have been more appropriate in this situation
Thanks