Server reported an error: Optional(FAULT = ‘1020’ [Missing ___class property for entity: member] <Missing ___class property for entity: member> )
I want to save a new object which includes an array of BackendlessUsers. The current user is added to this object. Unfortunately I get the above mentioned error.
Is there "members" column in the Community table on the server? If so, is it declared as a relation column? Is it one to one or one to many?
Is the "user" object a non-null value? Have you checked in a debugger?
not really a question, more an observation: I'd set objectId to nil rather than sending an empty string.
Regards,
Mark
Thanks! I am sorry if it looks like I am giving you the runaround, I should’ve asked in the first place: did you make sure you have the latest build of our SDK? Did you install through Cocoapods or downloaded it from the website?
Finally, does the call go through if you exclude the “members” property from the call and leave only “admin” (which is also a relation to the Users table).
Can you please elaborate on this? I do not have my own User class defined within the project. I just read the currentUser object and assign it to the Community class.
An object representing a user is a collection of properties defined as key/value pairs. My question is whether there is a property named “member” in the object representing the current user.