Called when authentication has failed.
Authentication can fail for several reasons, for example the provided application name is invalid, or if the
network connection is not functioning. Your application should inspect the ApiError object that is passed to the method and decide whether it is possible to
error - provides additional details about the failure.