This old API is deprecated, and with the new API we can report the actual error message if we hit an error.