Export refused: VALIDATION_ERROR_PRESENT
You clicked Generate BizFinx (or Generate XBRL XML); the export refused with HTTP 422 and reason: "VALIDATION_ERROR_PRESENT". The response body includes details.count.
What this means
The export gate refused because at least one XbrlValidationResult row has severity = ERROR AND passed = false. This is Rule 2 of the cursorrules. There is no override path.
Fix
- Open the filing → Validation tab.
- Click the Errors pane.
- For each error:
- Read
message(often includes concrete numbers) - Read
relatedElements(the taxonomy elements involved) - Open the Mappings tab, filter by element id, find the affected line items
- Read
- Fix at the mapping level (most common: a wrong element or wrong sign on the source data).
- Re-run validation. The error rows replace by
(filingId, ruleId). - When all errors clear, the filing transitions to
VALIDATION_PASSED. Re-export.
Diagnose
SELECT rule_id, category, message, related_elements
FROM xbrl_validation_results
WHERE xbrl_filing_id = '<filingId>' AND severity = 'ERROR' AND passed = false
ORDER BY rule_id;When the rule itself looks wrong
If the same error keeps failing across iterations and you're confident the data is correct, see Validation loops and escalate to Senior Accountant.
Warnings do not block
severity = WARNING failing rows do not block export. They appear in the Warnings pane; address where possible, document where not. ACRA can still reject for warning-only issues during filing — don't ignore them, but the export gate intentionally lets them through.