CloudKit returning error 503

For the past couple of days my app has been returning "Request failed with http status code 503" whenever I try to query it.

If I try to look at data in the CloudKit dashboard it shows "Internal Error"

This happens for all tables and zones.

The code that this occurs is

        os_log("Garry Debug fetchPrivateServices 2")

        queryOperation.queryResultBlock = { result in

            switch result {

                case .success(let cursor):

                    self.fetchPrivateServices(with: cursor, sem: sem, records: records, completion: completion)

                case .failure(let error):

                os_log("fetchPrivateServices 2 (error.localizedDescription)")

                }

        }

It appears to be failing on "queryOperation.queryResultBlock".

I see this when I try and run in Development or Production.

I have checked the iCloud Container for the app and it has only one Container assigned to it.

Is anyone able to point me in the best direction to take to address this.

Thanks

Replies

Thank you for the report and sorry you're seeing issues. Could you please use the Feedback assistant to share more details of the issue, including your container name? That will allow us to investigate further and share our findings with you.