iosswiftcloudkitquota

Fix "Quota exceed error" in CloudKit and view container usage


I have an app that uses CloudKit for data synchronisation. With a larger volume of users, the data synchronisation between devices stopped working with an error:

<CKError 0x600001bbaca0: "Partial Failure" (2/1011); "Failed to modify some records"; uuid = 6D5A9621-7F98-4813-B7FC-1AE08E0AD16B; 
container ID = "iCloud.EvenyCloudKit"; 
partial errors: {
    3587C9C7-9E2C-460B-855B-C921EC4BDA3A:(com.apple.coredata.cloudkit.zone:__defaultOwner__) = 
<CKError 0x600001bbac40: "Quota Exceeded" (25/2035);
 server message = "Quota exceeded"; uuid = 6D5A9621-7F98-4813-B7FC-1AE08E0AD16B;
 Retry after 347.0 seconds>
}>

I deployed my CloudKit schema to production, but it didn't fix the problem.
I have about 800 active users, and only small text data are stored in CloudKit.
How can I fix this problem, and how can I see the current CloudKit Container usage?

Thanks! CloudKit Dashboard


Solution

  • if this error message appears on your screen

    <CKError 0x600000e59cb0: "Partial Failure" (2/1011); "Failed to modify some records"; uuid = AB95829A-4E81-4F4F-B335-1303E4D552FD; container ID = "iCloud.com.infogen.budgettracker"; partial errors: { 755E33F8-0017-40C8-9DE2-55E9E75E14F0:(com.apple.coredata.cloudkit.zone:__defaultOwner__) = <CKError 0x600000e585d0: "Quota Exceeded" (25/2035); server message = "Quota exceeded"; op = AE64905FE4CED3C1; uuid = AB95829A-4E81-4F4F-B335-1303E4D552FD; Retry after 311.0 seconds> }>

    then you need to clear off the space on your iCloud account that you utilise to run your programme. When I run my application on an iCloud account that has reached its storage capacity, I too encounter the same issue. However, when I free up some memory, my application functions properly and data syncing is also working seamlessly.