fix(rest) heckSendError -> checkSendError