Odkmeta: column header type not found. invalid type() suboption. invalid survey() option

Welcome @hiwot_mekonen! When you get a chance, please introduce yourself here. Doing so helps build community!

odkmeta creates a do-file that imports submission data that matches the ODK Briefcase export CSV format. I'm not sure whether data exports that you prepare from within Ona match this format, though I seem to recall that they don't. However, you should be able to connect ODK Briefcase to Ona, then export your data using ODK Briefcase; you can then use the odkmeta do-file to import the resulting data.

However, first you need to use odkmeta to create the do-file, and it seems that you are running into an issue in this step. I've used odkmeta with Stata 15, so I don't think that's the cause. (Stata also has excellent version control, such that odkmeta should continue working in new versions of Stata.)

What is the full odkmeta command that you are running? Are you able to share your XLSForm?