WRITE operation not permitted on some record saves

"My app is live on the app store using cloudkit, record saves are working except that sometimes I am getting "WRITE operation not permitted". I can retry a couple of times, then it works. Any one else experienced this issue? Any solutions, I can't figure out why this error is occuring and why sometime it works and sometime is doesn't. And it doesn't matter whether I use CKmodifyrecordoperation or use database.save(record).

Post not yet marked as solved Up vote post of Jswiney Down vote post of Jswiney
1.3k views

Replies

Yes, and no one can find the answer bc Apple forums ROT.

I've had this problem before and learned here somewhere that signing out of iCloud and badk in fixes the problem. It fixed it for me.

Not completely sure but looks like users that are not logged into iCloud is a "_word" security role and they can only read.