I am trying to publish a survey with a .tpk basemap to our portal. For some reason, it continuously hangs on creating form item and never finishes publishing the survey. This is a copy of a survey I have published before (but had to delete), so I do not know what the problem is.
There are currently no either items in the portal (all content has been cleared).
This indicates that an error occurred during the form upload process that was not caught by Survey123 Connect. There are a few conditions that we are aware of that can cause this, such as a form with a large number of images in the media folder (above 1000). If possible, could you delete the folder Survey123 Connect created in your ArcGIS account, re-open Survey123 Connect, enable logging (see Troubleshoot—Survey123 for ArcGIS | ArcGIS; turning on logging without selecting a console will save the log to a text file) and republish?
Thank you for your reply. The only thing in the Media folder was the tile cache (single .tpk file--about 780 mb). I removed it and was able to successfully publish the survey. I then manually added the .tpk to the appropriate folder on the device.
If there is something in the log file you specifically need for tracking these issues, I would be glad to publish a similar service with logging enable. However, since I have what I personally need at the moment, this isn't something I need to move forward.
We have seen in some cases issues with publishing - the ArcGIS Online AddItem operation is a synchronous operation; one of the things it does is unzip the form (which is sent as a zip file). If the zip file has a large number of files, we've seen this operation time out as the unzipping process continues but the network connection has a limited lifespan. This might be the case in this instance.