process error on receiveResponse