LB-1579 Added http 400 codes to error body.

Fixed port missing issue.