X_SUBJECT_TREATMENT_INVALID
Means
a defineSubject treatment cannot be carried out
Typical cause
a blank retain reason, an anonymize naming a column the entity does not have (or its key), 'delete' on an append-only or soft-delete entity, a treatment for a table nothing reaches, or a kept row whose parent the erase deletes. The cause names the table and the field
Fix
tables: { <table>: { retain: '<why it is kept>' } } in defineSubject — the cause names the field to change