There are so many CloudKit errors in the Console... I've worked with CloudKit and "Asset File Not Found" could be referring to a CKAsset, which is typically some sort of attachment...
Error pushing in account ID 675...: <Note 3ED0FB15-E233-4B60-970A-F1A9254D3A8A changeTag=j1b> <CKModifyRecordsOperation 192DEA598575F2EB group=<CKOperationGroup 3CDFC32282483BDC quantity=7 expectedReceiveSize=1 name=SaveChangedObjects expectedSendSize=1> isExecuting=1 databaseScope=Private>: <CKError 0x600003a7bed0: "Asset File Not Found" (16/3002); "open error: 2 (No such file or directory)">
Potentially there are some modify notes operations which are failing, and causing the entire batch of changes to fail :
Partial error for modify operation <CKModifyRecordsOperation 192DEA598575F2EB isFinished=1 group=<CKOperationGroup 3CDFC32282483BDC quantity=7 expectedReceiveSize=1 name=SaveChangedObjects expectedSendSize=1> databaseScope=Private duration=0.7385960817337036>: <CKError 0x600003901170: "Partial Failure" (2/1011); "Failed to modify some records"; partial errors: {
3FE8933E-B177-4696-918E-D5462847F41D:(Notes:__defaultOwner__) = <CKError 0x600003901860: "Asset File Not Found" (16/3002); "open error: 2 (No such file or directory)">
3ED0FB15-E233-4B60-970A-F1A9254D3A8A:(Notes:__defaultOwner__) = <CKError 0x600003a78840: "Asset File Not Found" (16/3002); "open error: 2 (No such file or directory)">
_f2dafdb52687dc1d4ea74e4967320476:(_defaultZone:__defaultOwner__) = <CKError 0x600003aacc00: "Internal Error" (1/5000); "Failed to sync user keys">
... 5 "Batch Request Failed" CKError's omited ...
}>
The failing operations seem to be related to attachments. I know that before an attachment is uploaded it needs to be written to a local file, and it seems reading/writing to that location could be part of the problem?
RegisterItem exited registration with error: Error Domain=com.apple.mmcs Code=39 "Unable to register itemcom.apple.mmcs/39(CKInternalErrorDomain/3002)"
Error Domain=com.apple.mmcs Code=39 "Opening the readerWriter failed. CKInternalErrorDomain/3002"
Error Domain=CKInternalErrorDomain Code=3002 "open error: 2 (No such file or directory)"
"NSFilePath" = "/var/folders/qw/mx8xdnr529jc39qlx7rjw0fw0000gn/T/com.apple.Notes/com.apple.Notes-TemporaryAssetFiles/EA85C22F-ABF4-4DF8-AFD2-AA4B1E1F6754"
"CKErrorDescription" = "open error: 2 (No such file or directory)"
After a certain type or number of errors CloudKit will return a "retry after" value, telling Notes to wait for a number of seconds before attempting again. I've seen this value in the console at ~ 1500 seconds, which is 25 minutes. So that potentially could account for some of the delays.
It's really futile to try and debug their stuff...
Does anyone know if this affects ALL users, or are we unlucky? Does anyone have a friend you can ask to test it? If it affects all users, this is a REALLY bad issue...