Added error to message and callback on failure.