iCloud Dashboard returns "Internal Error" when querying records across all containers

Recently, I am experiencing a CKErrorServerRejectedRequest error during my app's iCloud data sync process. I have not modified or migrated the schema recently.

To troubleshoot, I logged into the iCloud Dashboard (CloudKit Console) to query the records directly. However, the dashboard also returns a generic "Internal Error" with no additional details whenever I attempt a query.

Here is what I have tried so far:

  • Private Database Only: The error only occurs within the Private Database. Querying the Public Database works normally and correctly returns "No records found."

  • Multiple Containers: This issue affects all of my existing containers across both Development and Production environments.

  • New Container Test: I created a brand new container with a new table, verified that the indexes are set to QUERYABLE, and attempted a query. The same "Internal Error" occurs.

  • System Status: I checked the Apple Developer System Status page (https://developer.apple.com/system-status/), and both "CloudKit Console" and "CloudKit Database" are showing green (normal).

Is anyone else experiencing this, or is there a known workaround for account-wide dashboard query failures?

Answered by Kjuly in 899514022

The service was down for a few days, which was highly frustrating. However, I checked again today and confirmed it is now working perfectly without any errors.

Moving forward, I hope we can avoid similar outages. If they do occur, it would be incredibly helpful if the CloudKit team provided troubleshooting steps for developers to take. For example, having a feature in the CloudKit Console (such as a button to manually restart the iCloud Container) would be an excellent tool for resolving these kinds of server-side deadlocks.

Fired feedback as well: FB24007718

Accepted Answer

The service was down for a few days, which was highly frustrating. However, I checked again today and confirmed it is now working perfectly without any errors.

Moving forward, I hope we can avoid similar outages. If they do occur, it would be incredibly helpful if the CloudKit team provided troubleshooting steps for developers to take. For example, having a feature in the CloudKit Console (such as a button to manually restart the iCloud Container) would be an excellent tool for resolving these kinds of server-side deadlocks.

iCloud Dashboard returns "Internal Error" when querying records across all containers
 
 
Q