Data is not saving in the table when submitting from UI form in Magento 2 but Magento doesn’t give an error, but data is saving while editing the form.
hi abdul salam,
this error probably due the primary key hidden field. check if the primary key value is not set then unset the primary key data.
Reason: when the primary key is set model try to update the record in table.