xbrl.4.1.2
Invalid context reference
Errorxbrl
The context reference in a fact does not match any defined context in the instance document.
What You'll See
Validation error indicating contextRef attribute points to undefined context ID
Common Causes
- 1Typo in the contextRef attribute
- 2Context was deleted but facts still reference it
- 3Copy-paste error from another document
How to Fix
- Check that the contextRef value matches an existing context id
- Ensure all contexts used by facts are defined in the instance
Example
<ix:nonFraction contextRef="ctx_2024" ...>
<!-- But no context with id="ctx_2024" exists -->Prevention Tips
Use an XBRL editor that validates references in real-time
Related Errors
errors.detail.resources
Need help validating your files?
Xerify catches these errors before you submit