ERRO 400; Unable to edit form

I am getting ERROR 400 whenever I make edits

@BioLite_2024, could you please provide a screenshot to help the community better understand your issue?

Can you also perhaps share a copy of your latest form definition - XLS or XML is fine, thanks.

I am not able to upload the document here apparently since I am a new user. Kindly assist

I’ve bumped you up - please try now.

Day 0_KPT Project Form.xlsx (11.6 KB)

Hi! Did you get to identify the issue that’s causing the ERROR?

There appears to be a number of errors in the form; running it thru the Online Validator picks up most of them. Specifically, you have several question in your form that have the same name; eg multiple questions name image and two that are both named integer_007. All questions should be given a unique identifier [you have some flexibility when they are in different groups, but I’d still advise keeping all the names unique across your entire form].

You also specified the language incorrectly, as ‘English’ whereas you also need to add the language code; ie ‘English (en)’. Again, the Online Validator will throw some warning about this.

Finally, you unfortunately tripped over an existing bug - one that effects only Enketo - where you have a question named ‘model’. This actually results in an error when you try to submit anything; I changed it to ‘ics_model’ to workaround the bug.

I made some tweaks to your form and this deploys and seems to run fine. I’ve highlighted in yellow (and red) the changes needed:

Day 0_KPT Project Form.xlsx (11.8 KB)

If your form is misbehaving then I always recommending running it thru the Online Validator to see if it picks anything up that you may have missed. Sometimes errors will get picked up when you try to first deploy your form, but at other times not. So its always good to check.

Thank you for the breakdown. I will reach out if we run into more issues

Hey,did your issue got resolve?