When subscribing to NSPersistentCloudKitContainer.eventChangedNotification events, quota exceeded events aren't delivered to the app at runtime.
I get CKError.partialFailure, but without any additional information in any of the properties. https://developer.apple.com/documentation/cloudkit/ckerror/code/partialfailure states information should be available, but it isn't.
When a debugger is attached, the information is logged by another process, but my app cannot access that at runtime to provide users with additional information.
Is there any workaround to get this to work?
References:
- Older post: https://forums.developer.apple.com/forums/thread/696523
- FB13773922
Can you file a feedback report with a sysdiagnose attached?
It would also help to include any logging you might have of the full notification payload with the raw error in it.
We expect the eventChangedNotification to include the full error payload, including the CKPartialErrorsByItemIDKey of the reported error object. If that's not happening we would like the fix that.
Persisted NSPersistentCloudKitContainerEvent objects do not include the full payload, so for example events retrieved using NSPersistentCloudKitContainerEventRequest will only include the domain / code of the original error.