CKShare Fails with quotaExceeded Error on Family iCloud Plan

Hello,

When attempting to create a CKShare on a personal device linked to a Family iCloud plan (non-primary account holder), the operation fails with a quotaExceeded error. This occurs with the Family plan having 1.5TB available storage space.

This is also causing a data loss for the object(s) that were attempted to be shared.

Details

  • Account Type: Family iCloud Plan (2TB total storage)
  • Current Family Usage: 399GB
  • iCloud Account Usage: 70 GB

Steps to Reproduce:

  • Have an iCloud account with storage over the 5GB free space limit.
  • Be on a part of a iCloud Family Plan as the non-primary account holder.
  • Have storage space available in the Family Plan
  • Attempt to start a CloudKit Share/Collaboration on the device.
  • Observe that the CKShare creation fails with a quotaExceeded error.

Expected Behavior:

  • The CKShare should be successfully created, reflecting the total available storage of the Family plan.

Observed Behavior:

  • The CKShare fails to be created with quotaExceeded.

Additional Testing

  • On a test device using an iCloud account with no stored data, the CKShare was created successfully and shared without issue.

Suspected Cause

  • The CKShare functionality is verifying the personal storage allocation of the iCloud account and failing without checking total available storage provided by the Family plan.

This indeed sounds like a system bug. I’d suggest that you file a feedback report – If you do so, please share your report ID here; I'd route it directly to the CloudKit team.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Thank you Ziqiao. I had filed a feedback but thought there could be a quicker response here to get it to the correct team. Please feel free to reach out for any further questions.

Feedback: FB16214848 (CKShare Fails with quotaExceeded Error on Family iCloud Plan)

CKShare Fails with quotaExceeded Error on Family iCloud Plan
 
 
Q