Good Morning,

It seems that you are trying to create a record in the data base with a value on the foreign key to the user table.

Or it is being set to null, or to a value that doesnt exits on the data base.

Br