I successfully uploaded and deployed an XLS form via XLSForm Online v1.x. When trying to enter data via the web collect link, however, we’re receiving the following error intermittently (like very 2 or 3 times we try to load the form):
Error occurred during the loading of this form. It is recommended not to use this form for data entry until this is resolved.
Unexpected token < in JSON at position 0
Any suggestions on what in the coding might have caused this error and how to resolve it?
I believe the issue is/was that something times out and Enketo's internal response is whatever error occurs which in this case is HTML generated by nginx (?), whereas Enketo normally responds with JSON to that call. So it's sloppy error handling for sure, but the underlying issue is something timing out.