When "Send to Server" and "Send Emergency Data Dump" do not work, but "Send App Log" works, researchers can adapt this code to parse the data for upload.
Please refer to the notebook for the code and comments.
Caution: if your project has image uploads such as consent signatures, they will be lost if you only use this method to recover data. You will have to re-collect the consent signatures or other image uploads.