Error 1502 (Invalid parent folder) when uploading to Google Drive

The error 5: 1502 (Invalid parent folder) may occur when you upload a recording to Google Drive, either manually or automatically after you enabled the Google Drive integration.

How to fix it: Go to the Hi-Q MP3 Recorder settings > Google Drive > tap Account to log off from Google Drive, and then tap Account again to re-login to Google Drive.

This error could happen if you do an uninstall or “clear data” or “manage space” of the Google Play Services system app that is installed on your device. For more technical discussion of this issue, see the following paragraphs.

On Android, operations on Google Drive is not done directly between an app and the Google servers. It is done via an intermediate layer inside Google Play Services. When we prepare the folder to store the recordings on Google Drive, Google Play Services creates the folder internally (it works even when your device is offline) with its own ID called DriveId. The DriveId is passed to our app, and we store this DriveId for future uploads. Sooner or later, the folder is synchronized to the Google servers and the Google Play Services app stores the mapping between DriveIds and the server IDs. When you remove the data associated with the Google Play Services app, the mapping is lost. Hence, on the next upload, our app tries to give that DriveId as the location of the uploaded file, but it is no longer recognized.

Your recording files are not lost. You just need to re-login to Google Drive using the instructions above.