[Backend] added square brackets to the error messages