Editing a submission link

Looks like this is related to Enketo API - struggling to get edit version of form so xreffing here.

There are quite a few of us trying to manipulate Enketo URLs for various reasons (whether to send submissions back to the enumerator, or to create pdfs, etc.

It’s possible that the Error trying to parse XML record. Different root nodes problem may be to do with form versions - see this very old conversation from a few years back: Enketo edit record loading error

In any case, these more recent threads (not specific to your error) may help figuring out the Edit-via-API / edit link problem you are trying to solve:

Have you already clicked through the KoBo website user interface to ‘edit’ a submission, and inspected the API calls made via your browser, to check what params/headers/data are passed to what endpoint at what point in the process when using the website? Sometimes I find that helps to troubleshoot my chain of API calls - good luck!

1 Like