Label is invalid when uploading new form

I’m encountering an error when deploying my form and have been unable to resolve it despite trying various solutions. I’ve attached a picture of the error message for your reference.

Could you please help me investigate and resolve this issue?

Error: if this problem persists, contact support@kobotoolbox.org

[row : 434] On the ‘survey’ sheet, the ‘label’ value is invalid. Reference expressions must only include question names, and end with ‘}’.

My label in row 434 is: Q430. Trong thời gian mang thai này, bạn có nhận được hỗ trợ thực phẩm hoặc tiêm mặt thông qua chương trình CHÈN TÊN CHƯƠNG TRÌNH HỖ TRỢ TIỀN MẶT HOẶC THỰC PHẨM CHO PHỤ NỮ MANG THAI, không?

Welcome to the community, @dhssurvey! Could you share with us your XLSForm so that we can investigate it? BTW, you could investigate it by yourself by checking row 434 of your survey sheet.

2025 DHS - Female.xlsx (682.5 KB)

Thank you for reply, I shared my XLS form above, please help me to check it. I haved checked it so many times but have no idea what error is

I’m encountering an error when deploying my form and have been unable to resolve it despite trying various solutions. I’ve attached a picture of the error message for your reference.

Could you please help me investigate and resolve this issue?

Error: if this problem persists, contact support@kobotoolbox.org

[row : 434] On the ‘survey’ sheet, the ‘label’ value is invalid. Reference expressions must only include question names, and end with ‘}’.

My label in row 434 is: Q430. Trong thời gian mang thai này, bạn có nhận được hỗ trợ thực phẩm hoặc tiêm mặt thông qua chương trình CHÈN TÊN CHƯƠNG TRÌNH HỖ TRỢ TIỀN MẶT HOẶC THỰC PHẨM CHO PHỤ NỮ MANG THAI, không?

My XLS form below
2025 DHS - Female.xlsx (583.9 KB)

Some ideas:

  • Do you use/save UTF-8 character code in Excel (XLSForm)?
  • Does the error disappear if you use a simple text label, e.g. ‘Hello’?
  • Does the error disappear if you remove the line?

In row 489 there is a syntax error in your label
“Q452. … (${q407), …?” Closing } reference bracket is missing.

And there is another error:
Error: There are more than one survey elements named ‘total_alive_children’ (case-insensitive) in the section named ‘group_sec_2’.

Please, use the Online validator to check your form during development and before deployment. ODK - XLSForm Online

If I replace it with simple text, the error is still appeared. If I remove this line, the error will appear in the line above 1 line. I dont know why this error exists

I’ve run into the “label is invalid” error before it usually comes down to unexpected characters, extra spaces, or inconsistencies in the choices sheet of your XLSForm. Double-check for things like special symbols, missing labels, or duplicate list names. Cleaning up those fields usually clears the issue. Hope you get it resolved!

Would you mind to correct the 2 above noted errors first, please.

I have done it already and eventhough I delete the whole line in survey sheet (like row 425), Kobotoolbox still has error with this line

Thank you for your support.

Even though I deleted the whole line but the error still appeared (like row 425) I can not find any special characters or something wrong

(attachments)

2025 DHS - Female.xlsx (628 KB)

Kobo expects placeholders to be in the format ${question_name}—only referencing actual question names from your form, and they must end with a }. In your case, the phrase “CHÈN TÊN CHƯƠNG TRÌNH…” isn’t a valid reference, which is why you’re seeing the error. To fix it, you can either replace that text with a real program name or use a proper reference like ${program_name} if you’ve already created a question with that name earlier in the form.

I found the error — if anyone else encounters the same issue, please double-check the ${ syntax in the XLSForm. In my case, I had a mistake with a specific variable like ${q406), but the error occurred on a different row than the one shown by KoboToolbox

Yes, as noted above, for another row.

Please, check again with the Online validator.
There was another error, mentioned above.

@dhssurvey, you may need to check the label of the label column header. When I changed them to normal text had no issues.