I am receiving an error when the app is trying to upload a CKAsset in a long lived operation once the user has connected back to internet. On re-opening the app the long lived operation returns this error.
related decl 'e' for CKErrorCode(_nsError: <CKError 0x28352bf60: "Invalid Arguments" (12); "Long Lived Operation <CKModifyRecordsOperationInfo: 0x104f2c950> may not save a record with asset <CKAsset: 0x104ff6760; uploadRank=0, path=~/Containers/Data/Application/UUID/Documents/rawContent, UUID= >, whose fileURL file:///var/mobile/Containers/Data/Application/UUID/Documents/rawContent is inaccessible">)
The path is accessible by me and is public. What is causing this error?