Error when submitting a form


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

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: