Code: 1321 - Deep save exception. Property 'password' is required

I’m trying to get some info from the user and related tables, add a row in a related (Contacts) table (this code not shown). But in my test I’m getting an error that password is required.

The password column is required in the Users table. A user account cannot exist without a password.

Regards,
Mark

This also doesn’t work -

When you retrieve data from Users, the value of the password field is never returned for security reasons. As a result, the objects in the userList collection do not have a value for the password property.

It is not quite clear to me why you’re saving the same objects you just retrieved from the database back in the same table.

That was just for demonstration purposes. I figured out the error message is because I’m passing a list, and Deep Save expects an object.

Am I remembering correctly there is no option for a bulk deep save? For example, I want to add many contacts rows related to many users.

Thanks,
Tim

You’re right, I overlooked that part.

That’s correct. Deep Save uses the Transactions API underneath, it builds a transaction around a single object and all its child properties.

Regards,
Mark

Can I get help with updating a row in the Users table. I’m getting the PW error trying this -

Hello, @Tim_Jones

Could you please share your App ID and the page where the issue occurs?
This will help us look into the issue for you.

Kind regards,
Karyna