Suddenly seeing this error when saving consents: `...
# support
y
Hi folks. We're suddenly not able to save consents, and are seeing this error:
Copy code
Constraint ppc-1 not met: Either a Policy or PolicyRule ({"fhirpath":"policy.exists() or policyRule.exists()"}) (Consent)
Has a new validation constraint been added recently? Our existing consents can't be updated either without seeing this exception.
r
This was caused by this bugfix, which fixed an issue where some root validations were not being run correctly: https://github.com/medplum/medplum/pull/3779 Immediate remediation was to turn of "strict mode" for the affected project: https://www.medplum.com/docs/access/projects#settings
157 Views