PERMISSION_DENIED error when accessing MLflow experiment artifact

Resolve a PERMISSION_DENIED error when trying to access MLflow experiment artifacts.

Written by Adam Pavlacka

Last published at: May 16th, 2022

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 (AWS | Azure | GCP) automatically apply to artifacts of an experiment.