Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'Customers')

Good Day,

I am working on a relationship between “Customers” and “Vehicles” database. User should be able to add “Customers” information, click on “Add Vehicle” button and then add “Vehicles” information, but when the “Save” button is clicked I get the following fault.

Here is my logic…

Kind Regards
Donovan

Hello @Donovan_Hardwick,

can you check please what value is createdPerson in Page Data? It seems it’s undefined.
Use the Print block for logging purposes.

Regards,
Stanislaw

Good Day @stanislaw.grin

Here is the logic for “createdPerson”.

Here is the string of components for the input field.

Screenshot 2021-12-16 at 10.34.30

Let me know what other information you need.

Kind Regards
Donovan

Hello @Donovan_Hardwick

The value from createdPerson in Page Data would be very useful to us.
You can get it using the Print block as described by Stanislaw:

Regards,
Vladimir

Good Day @Volodymyr_Ialovyi & @stanislaw.grin

Where do find the “Print” Block? Is it by any chance the below?

I

Kind Regards
Donovan

Hello @Donovan_Hardwick

Regards,
Vladimir

Good Day,

I am not sure what I did but I am getting the following error.

Kind Regards
Donovan

Hello @Donovan_Hardwick

Please describe in more detail where you are seeing this error?

Hello @Donovan_Hardwick

Could you provide us with your app id?
Add container name and page name the error apear/

Regards,
Viktor

@viktor.liablin @stanislaw.grin @Volodymyr_Ialovyi

Thank you all for assistance, I am still not sure what the fault was but after deleting the logic and restarting it seems to have sorted the problem out.

Kind Regards
Donovan