Error when submitting a form

Hi,

Am getting the following error when submitting a form kindly assist.

commcare for submission failed with error
The case_id attribute of a wasn't set. Source:n2:case tag in namespace
http://commcarehq.org/case/transaction/v2

That's an error in the XML structure of the form. A case block has a required structure which needs to be followed. You can see the spec for the structure here: casexml20 · dimagi/commcare-core Wiki · GitHub