Reputation: 59
Good day! In CloudKit Dashboard I get the error:
There was a problem loading the environment’s status
This happens when I select the action "Deploy Schema to Production..." for the "Development" schema:
I have a released application using CloudKit (respectively, there are two working schemes - Development and Production). Before the release of the application, the Development schema in CloudKit Dashboard was translated into Production (Deploy schema to production). Now I needed to make changes to the schema. A new field and indexes for it, as well as indexes for an existing field, have been added to the Development schema. Now I am trying to move the schema from Development to Production in CloudKit Dashboard (so that my changes show up in Production) and this error persists, is there any other way you can update the Production schema or fix this error?
Upvotes: 2
Views: 1433
Reputation: 555
I found out that it runs into a client-side timeout of 1 minute, but the server takes longer. You can kill the timeout with
var id = window.setTimeout(function() {}, 0);
while (id--) {
window.clearTimeout(id); // will do nothing if no timeout with id is present
}
For details, see https://stackoverflow.com/a/67862078/
Upvotes: 1
Reputation: 14068
There can be a lot of strange errors in the CloudKit dashboard. Here are a few suggestions:
Aside from that, your particular error isn't terribly descriptive and it's most likely something on Apple's end.
Upvotes: 3