congratulations for solving your problem!the spec says if you have a auto generated id you should set the id field value manually, and if you have the auto generated id you should not set it your self.