When I created the first scheme on CK, there was no problem, but once I try to modify the scheme, adding more tables and adding more columns to existing tables, I got the same error.
In my case there were some tables created automatically, like Users and CDMR. I just had to add SORTABLE and QUERYABLE to CDMR And it solved the problem. I ended up adding to every single table just in case 😅
Indexes:
createdTimestamp: QUERYABLE and SORTABLE
2.modifiedTimestamp: QUERYABLE and SORTABLE
recordName: QUERYABLE and SORTABLE
I have added the above to all tables
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: