Error: An error occurred when querying data from the feature layer. 400: UNKNOWN_ERROR Unable to perform query. Please check your parameters.
I have tried to upload my custom template and I get the error message above.
I then downloaded the "create sample template" and attempted to load that back in (with no changes) and received the same error.
Sounds like there is something wrong with your survey. Enterprise or AGO? Connect or web app?
Was this working preciously? If you publish a big update that changes the itemId, you need to refresh the Survey123 Website page before you try to upload a template. That could create the UNKNOWN_ERROR message.
Some troubleshooting steps to try:
Thanks, apparently when I appended data to the HFS it wouldn't let me update the template, although the exiting one still worked.
Can you update the template after refreshing the page? If so, then that would be expected behaviour, as I mentioned above.
I was able to refresh after deleting all the records. Apparently the template update scans the data in some way.