java.lang.SecurityException: Unsupported path /data/user/0/***/files/22940/001_mj.mp3.temp

Hot problem!
This exception has a lot of traffic. You can help 12 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by magude
, 1 year ago
Unsupported path /data/user/0/***/files/22940/001_mj.mp3.temp
java.lang.SecurityException: Unsupported path /data/user/0/***/files/22940/001_mj.mp3.temp
at com.android.providers.downloads.DownloadProvider.checkFileUriDestination(DownloadProvider.java:735)
at com.android.providers.downloads.DownloadProvider.insert(DownloadProvider.java:558)
at android.content.ContentProvider$Transport.insert(ContentProvider.java:263)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:163)
at android.os.Binder.execTransact(Binder.java:453)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.