Catching ProcessEngineException in the REST API and interpreting it as a single error cause that may not be correct is a bad pattern. Users may be mislead to the wrong cause of an error.
Check all REST API resources for this anti-pattern.
Related forum post: https://forum.camunda.org/t/historic-process-instance-does-not-exist-rest-request-exception/5591