ray.exceptions.AuthenticationError#

exception ray.exceptions.AuthenticationError(message: str)[source]#

Indicates that an authentication error occurred.

Most commonly, this is caused by a missing or mismatching token set on the client (e.g., a Ray CLI command interacting with a remote cluster).

Only applicable when RAY_AUTH_MODE is not set to disabled.