Cloudkit - Service Unavailable (6/2022) Request failed with http status code 503

I'm facing issue from few days with CloudKit. When I try to fetch any record from Cloudkit it gives me following error:

<CKError 0x6000006ec420: "Service Unavailable" (6/2022); "Request failed with http status code 503"; Retry after 30.0 seconds>

Also, when I try to query records from Cloudkit dashboard I receive "Internal error". I have not done any write operations.

Please help if anyone has solved this type of error.

I am having the same issues for a small percentage of my users. I have submitted a bug report to Apple but have not heard back yet. Even after waiting for days, the 503 error persists for some of my users.

@bchandresh, I am unable to replicate the 503 errors on my device but some of my users are experiencing the issue. It looks like you are seeing the issue on your device, so can you please do the following:

https://developer.apple.com/bug-reporting/profiles-and-logs/ Download the CloudKit profile on your device and then follow the instructions. Submit a bug report with that log file and it will help Apple determine what the issue is. I would do this myself, but I cannot replicate the issue on my device.

I've also been getting these errors with a small percentage of users. It started about two weeks ago. I can't reproduce the error locally.

@apple can you please look into this for us?

EXACT SAME PROBLEM here. I can't repro myself, but some users can. Apple please, it's ridiculous, it's 2 weeks since this problem is out and our users can't just use the app. Your customer service tells our users it's an app bug, which is still more frustrating.

maybe your app has enough users hitting CloudKit at the same time that its tripping over the rate limit?

We're also seeing this issue with a lot of our users. Is there anything we can do on our end?

Hi, i am using the CloudKit sync with DEVONThink and experience the same errors. I tried everything including changing the number of connections but the problem exist. Syncing is not working. I opened a support ticket at DEVONtechnologies.

I solved the issue with DEVONthink sync. In my iCloud-Drive settings I disconnect DEVONthink 3 for storing documents in iCloud. I started DEVONthink 3 and get some error-messages that I can't store documents via CloudKit. I closed DEVONthink 3 and connect DEVONthink 3 in my document-section in iCloud. I also set the max connections on 4. Then I sync the db one by one and got no error-messages. Maybe this can help with similar issues in your apps.

I am also experiencing this issue and it’s very frustrating. I am able to reproduce locally so I will follow the steps to submit the bug to Apple.

At last my problem got resolved. I have figured out that my app identifier has 2 iCloud containers attached with. I removed the iCloud container which was not in use.

Steps to edit iCloud container.

  1. Go to your developer account
  2. Certificates, IDs & Profiles
  3. Identifiers
  4. Select your app's identifier
  5. iCloud > Edit Container
  6. Choose the correct iCloud container

This did solve my problem. Hope it works for you too.

Same problem in my app: <CKError 0x6000...: "Service Unavailable" (6/2022); "Request failed with http status code 503"; Retry after 30.0 seconds>

In my case the Apple's Feedback assistant is avoiding the problem and does not get involved in finding the solution

The problem was from apple side. They believe that the problem is now solved.

Thank Apple team. My problem gets resolved. I don't see these type of errors now.

Cloudkit - Service Unavailable (6/2022) Request failed with http status code 503
 
 
Q