Error: The field 'State' with value, data format is not correct
This validation error occurs when filing Maryland Form 510 because the State field contains an invalid value instead of a valid two-letter state abbreviation.
Error message
Validation failed on [FILE_ID]: Form: Form510[1][@documentId='Form510] AdditionalInformation[1]/OrganizationState[1]/State[1] Requirement: State abbreviations, a.k.a. state codes Error: The field 'State' with value '[ENTERED_VALUE]', data format is not correct. Element Name: State XPath: //Form510[@documentId='Form510']/AdditionalInformation[1]/OrganizationState[1]/State[1 XML Fragment: [ENTERED_VALUE] Field Key: 0,0,0,0,0,0,0,0,0 Error Code: [CODE] Error Reason: '[ENTERED_VALUE]' violates enumeration constraint of 'AL AK AS AZ AR CA CO MP CT DE DC FM FL GA GU HI ID IL IN IA KS KY LA ME MH MD MA MI MN MS MO MT NE NV NH NJ NM NY NC ND OH OK OR PW PA PR RI SC SD TN TX VI UT VT VA WA WV WI WY AA AE AP'. The element '{http://www.irs.gov/efile}State' with value '[ENTERED_VALUE]' failed to parse.
Solution
- Go to .
- Make sure only 1Xis used inLine 4.
- Drill down onLine 4and select the state inColumn E.
- Go to .
- Select the appropriate state.
- Do a full recompute, then recreate the e-file.