Error: The keyref 'RelatedExpenses.pdf' does not resolve to a key for the Identity Constraint
This error occurs when a required PDF attachment is missing from the Iowa e-file.
Error message
Validation failed on [FILE_ID]: Requirement: ReturnState - wraps around Return Header and Return Data Element Name: ReturnState XPath: /ReturnState[1] XML Fragment: PField Key: 0,0,0,0,0,0,0,0,0 Error Code: [CODE] Error Reason: The keyref '[LOCATOR NUMBER]_RelatedExpenses.pdf' does not resolve to a key for the Identity Constraint '{http://www.irs.gov/efile}keyFilename'.
note
This error is an example. The required file name varies by return. Check the "keyref" in the error reason line of the diagnostic to verify which attachment is required for your return. Common examples include:
- RelatedExpenses.pdf
- AmendedReturnExplanation.pdf
- IANOLCarryFwdCCorp.pdf
- TaxOnAnnualized.pdf
- TaxOnAnnualizedQ2.pdf
- TaxOnAnnualizedQ3.pdf
- TaxOnAnnualizedQ4.pdf
- PTEModificationsK1.pdf
Solution
- Go to .
- SelectAttach PDFto attach the required PDF.
- Make sure the PDF file name and description match what the validation requires (for example, RelatedExpenses.pdf or AmendedReturnExplanation.pdf).
- Do a full recompute and recreate the e-file.