Error handling when check out failed