PERMISSION_DENIED error when accessing MLflow experiment artifacts

Problem

You get a PERMISSION_DENIED error when trying to access an MLflow artifact using the MLflow client.

RestException: PERMISSION_DENIED: User <user> does not have permission to 'View' experiment with id <experiment-id>

or

RestException: PERMISSION_DENIED: User <user> does not have permission to 'Edit' experiment with id <experiment-id>

Cause

With the extension of MLflow experiment permissions to artifacts, you must have explicit permission to access artifacts of an MLflow experiment.

The error suggests that you do not have permission to access artifacts of the experiment.

Solution

Ask the experiment owner to give you the appropriate level of permissions to access the experiment.

Experiment permissions automatically apply to artifacts of an experiment.