That doesn't explain why you need to assign `id`. If you need to assign `category_id` via API, then okay. But not the ID. You should NOT be generating ANY ids from the client.