Wrong type of ID in post entity