Gmail Unable to Download Attachments, Only Solution that Worked is Factory Reset

Hi, I'd like to bring to your attention that I faced the same problem as described here by @stevenclin and @Billy768, i.e. that I couldn't download attachments from Gmail with message "Failed to download the attachment, please try again". To no avail, I tried pretty much all the solutions that I could find on the web before resorting to factory resetting my Zenfone 8. It's worth mentioning that the error occurred with all accounts in Gmail, but didn't occur in Outlook on the same phone, in Gmail on another phone (Galaxy S9 running Android 10, fully updated), nor in the Gmail web app in the computer browser.

As suggested by @Irene2_ASUS, factory resetting solved the issue, but I'm opening the discussion because I want to avoid having to factory reset my phone again in the future (especially for such a small problem) and therefore I'd like the issue to be investigated thoroughly and solved.

The affected phone is a Zenfone 8 running Android 11, fully updated (version 30.12.112.46). See below the log I could find that seems to contain the same error reported in the linked discussion (java.lang.SecurityException: Unsupported path):

11-16 19:26:26.201 10083 28977 28995 E DatabaseUtils: Writing exception to parcel
11-16 19:26:26.201 10083 28977 28995 E DatabaseUtils: java.lang.SecurityException: Unsupported path /c376f33dc84026dbb672a47ec3387b88
11-16 19:26:26.201 10083 28977 28995 E DatabaseUtils:     at com.android.providers.downloads.DownloadProvider.checkFileUriDestination(DownloadProvider.java:1096)
11-16 19:26:26.201 10083 28977 28995 E DatabaseUtils:     at com.android.providers.downloads.DownloadProvider.insert(DownloadProvider.java:730)
11-16 19:26:26.201 10083 28977 28995 E DatabaseUtils:     at android.content.ContentProvider.insert(ContentProvider.java:1735)
11-16 19:26:26.201 10083 28977 28995 E DatabaseUtils:     at android.content.ContentProvider$Transport.insert(ContentProvider.java:366)
11-16 19:26:26.201 10083 28977 28995 E DatabaseUtils:     at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:167)
11-16 19:26:26.201 10083 28977 28995 E DatabaseUtils:     at android.os.Binder.execTransactInternal(Binder.java:1154)
11-16 19:26:26.201 10083 28977 28995 E DatabaseUtils:     at android.os.Binder.execTransact(Binder.java:1123)
11-16 19:26:26.202 10178 18879 18879 W fer     : AttachmentManager: Failed to download original file of attachment 0.1 due to java.lang.SecurityException: Unsupported path /c376f33dc84026dbb672a47ec3387b88 [CONTEXT android_log_tag="GmailAttMgr" ]
11-16 19:26:26.203 10178 18879 18879 E Gmail   : sapi-AAH:Failed to download an attachment
11-16 19:26:26.203 10178 18879 18879 E Gmail   : java.lang.SecurityException: Unsupported path /c376f33dc84026dbb672a47ec3387b88
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at android.os.Parcel.createExceptionOrNull(Parcel.java:2373)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at android.os.Parcel.createException(Parcel.java:2357)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at android.os.Parcel.readException(Parcel.java:2340)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at android.content.ContentProviderProxy.insert(ContentProviderNative.java:549)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at android.content.ContentResolver.insert(ContentResolver.java:2174)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at android.content.ContentResolver.insert(ContentResolver.java:2135)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at android.app.DownloadManager.enqueue(DownloadManager.java:1119)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at ink.f(PG:12)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at ink.c(PG:7)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at ble.a(PG:18)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at ajhs.c(PG:2)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at ajhu.run(PG:9)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at pkt.run(PG:4)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at nvo.run(PG:6)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at jar.run(PG:25)
11-16 19:26:26.203 10178 18879 18879 E Gmail   :     at java.lang.Thread.run(Thread.java:923)
Sign In or Register to comment.