Schema issue in DU

Hi, I am having an issue in Document Understanding, I want to add new pdf into the model, but it does not allow me to label it. It throws error: {‘schema’: {‘extraction’: {5: {‘dmy_parsing’: [‘Field may not be null.’]}, 7: {‘dmy_parsing’: [‘Field may not be null.’]}}}}
Can you help where it even look for the issue?

@camaro123

can you please specify where or when the error is coming?

how are you trying to add new doc?

cheers

Hi @camaro123,

Thank you for flagging this. This is a known issue, the team is working on a fix.
Until then, the following workaround should unblock you

  • check date fields / advance settings view
  • if date format in UI is auto , switch to something else us style / non-us style
  • if the desired date format is auto change back to auto
  • click done in field advance settings view
  • do this for all date fields in doctype
  • click Save on doctype

some additional details

  • the issue is generated by fields of type date without a date parsing value (dmy_parsing , date month year _parsing = null)
  • this happens when a non-date field is changed by the user to a date field (dmy_parsing will be null in this case, same as in the error message)
  • UI will show this date field with null dmy_parsing incorrectly as auto (see picture)

By applying the workaround, date fields should be saved with correct dmy_parsing value & error should not be shown in annotations view