returning error response packet