-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 513 when downloading a file. #258
Comments
See (in your source file path error: /BUNLE_ID/
… On Apr 20, 2020, at 10:57 AM, AaronMcGranaghan ***@***.***> wrote:
Hello, hoping someone can help with an issue I've recently come across. I can't be sure when it started happening, but when I try to download a file I get error 513:
DropboxClientError[{
NSError = "Error Domain=NSCocoaErrorDomain Code=513 \"\U201cCFNetworkDownload_KWoAqe.tmp\U201d couldn\U2019t be moved because you don\U2019t have permission to access \U201ctmp\U201d.\" UserInfo={NSSourceFilePathErrorKey=/var/mobile/Library/Caches/com.apple.nsurlsessiond/Downloads/BUNLE_ID/CFNetworkDownload_KWoAqe.tmp, NSUserStringVariant=(\n Move\n), NSDestinationFilePath=/private/var/mobile/Containers/Data/Application/220F0D18-CF5B-4FEE-8248-B0BEF2F6517E/tmp/7B749750-D583-4D3C-AEED-FD1916439C82, NSFilePath=/var/mobile/Library/Caches/com.apple.nsurlsessiond/Downloads/BUNDLE_ID/CFNetworkDownload_KWoAqe.tmp, NSUnderlyingError=0x280384240 {Error Domain=NSPOSIXErrorDomain Code=1 \"Operation not permitted\"}}";
|
A 513 Cocoa error is
Also, as John pointed out, 'BUNLE_ID' doesn't seem to be correct. Is that actually in the path in the output, or is that a typo from redacting your bundle ID for this post? |
Yes, that was a typo in my redaction. All paths are valid and correct. I'll check out some of the other issues and see if any of those solutions help. Thanks. |
Using forceForegroundSession seems to have fixed the problem. Thanks for the pointers. |
Hello, hoping someone can help with an issue I've recently come across. I can't be sure when it started happening, but when I try to download a file I get error 513:
The code I'm using has worked fine for a long time and hasn't been changed:
The odd thing is, this error only occurs on some of my devices, not all of them.
I'm using iOS (13.31) and ObjectiveDropboxOfficial (3.11.2).
The text was updated successfully, but these errors were encountered: