Hi. Currently, I am using ODK Collect v1.29.3 and the KoboToolBox server. However, recently I had a problem concerning the forms update. There are some times that I update the forms on ODK Collect and when I try to open a form, the ODK Collect shows this error message: “Document has no root element!”
This error also occured when I used Kobo Collect v1.28.0
Steps to Reproduce
… On the Form Management page, set Blank form update mode as Exactly match server
… Try updating a form several times until you see the error message.
We saw this same error message in all of our current forms and in all of our devices. All of these devices are Android 10.0.0 smartphones which are either Sansumg or LG brands
We’ve checked the URL and everything is properly configured.
What has happened is that forms we have been using since the beginning of the last year and that have always worked properly have suddenly begun to present this problem. We haven’t changed anything on the app configuration since then.
We’ve tested our forms on Kobo Collect v1.28.0 also to check if it is a particular problem of the lastest version of ODK Collect, but it had the same bad results, as mentioned by @ricardonfc.
We have noticed the first occurrence of the problem on January 12th, 2021, from when it became recurrent and spread to other many active forms we have. We are asking our enumerators to continue updating the forms until the “form updated successfully” message appears. This is solving the problem for now.
@saseehav, Do you have both the KoBoCollect android app and the ODK Collect android app both installed in your same device? Id yes, could you remove one of them and see if it works?
I do not have ODK installed anywhere on the device. The android device is a new Samsung Tablet with a fresh installation of KoboCollect 1.29.3. Forms have existed since early 2020 and have gone through a few versions and deployments. The latest deployments in the past month are breaking and won’t open the new forms or send forms