Stream: hapi
Topic: hapi client validate throws exception
Patrick Werner (Aug 26 2020 at 12:36):
When using: client.validate().resource(resource).execute();
hapi immediately throws a PrecondotionFailedExceptionException in thread "main" ca.uhn.fhir.rest.server.exceptions.PreconditionFailedException: HTTP 412 Precondition Failed: dom-6: A resource should have narrative for robust management [text.div.exists()]
Patrick Werner (Aug 26 2020 at 12:38):
The first issue is always thrown as a PrecondotionFailedException, even if it is just a warning
Patrick Werner (Jun 07 2021 at 14:33):
I think this is still an issue.
Last updated: Apr 12 2022 at 19:14 UTC