Error: The field 'OklahomaCounty' with value, data format is not correct
This validation error occurs when the Oklahoma county name isn't formatted with proper capitalization. The state schema requires mixed-case county names (for example, 'Comanche' instead of 'COMANCHE').
Error message
Validation failed on [FILE_ID]: Form: FormHeader Description: County for Oklahoma address LineNumber: Header Description: Dependent Relationship LineNumber: N/A Error: The field 'OklahomaCounty' with value '[ENTERED_VALUE]', data format is not correct. Element Name: OklahomaCounty XPath: /ReturnState[1]/ReturnDataState[1]/FormOK512S[1]/FormHeader[1]/OklahomaCounty[1] XML Fragment: [ENTERED_VALUE] Field Key: 247,271,34,0,0,0,0,0,0 Error Code: [CODE] Error Reason: '[ENTERED_VALUE]' violates enumeration constraint of 'Adair Alfalfa Atoka Beaver Beckham Blaine Bryan Caddo Canadian Carter Cherokee Choctaw Cimarron Cleveland Coal Comanche Cotton Craig Creek Custer Delaware Dewey Ellis Garfield Garvin Grady Grant Greer Harmon Harper Haskell Hughes Jackson Jefferson Johnston Kay Kingfisher Kiowa Latimer Le Flore Lincoln Logan Love McClain McCurtain McIntosh Major Marshall Mayes Murray Muskogee Noble Nowata Okfuskee Oklahoma Okmulgee Osage Ottawa Pawnee Payne Pittsburg Pontotoc Pottawatomie Pushmataha Roger Mills Rogers Seminole Sequoyah Stephens Texas Tillman Tulsa Wagoner Washington Washita Woods Woodward'. The element '{http://www.irs.gov/efile}OklahomaCounty' with value '[ENTERED_VALUE]' failed to parse.
Solution
- Go to .
- Change the County to the correct value with proper capitalization (for example, 'Comanche' instead of 'COMANCHE').
- Do a full recompute and recreate the e-file.