Fix missing error code