dbx icon indicating copy to clipboard operation
dbx copied to clipboard

Executing Demo Project Results in "Enum ErrorCode has no value defined for name '403'"

Open cmcharg-dufrain opened this issue 2 years ago • 1 comments
trafficstars

Expected Behavior

DBX executes demo code.

Current Behavior

Having followed the documentation here - https://learn.microsoft.com/en-us/azure/databricks/dev-tools/dbx#code-example - to create a sample dbx project when trying to run command dbx execute --cluster-id=0109-144413-i8gdzm22 dbx-demo-job --no-package --debug I get the following error:

ValueError: Enum ErrorCode has no value defined for name '403'

Running in debug mode I can see that the request to get experiment is failing due to invalid token - however it also looks like the token is not being passed as part of the request. See below: image

Steps to Reproduce (for bugs)

Steps followed in documentation linked above - No IDE (terminal only).

Context

Your Environment

Windows Server 2019

  • dbx version used: 0.8.9
  • Databricks Runtime version: 11.3 LTS

cmcharg-dufrain avatar Mar 07 '23 14:03 cmcharg-dufrain

hi @cmcharg-dufrain ,

this means that you don't have permissions to work with the underlying MLflow experiment (its used as an artifact storage by dbx). Check the workspace_directory property in the .dbx/project.json file and try reaching out to it via Workspace UI. If you're unable to do that, it's a permissions problem. Try choosing another workspace_directory where you're allowed to create MLflow experiments.

renardeinside avatar Mar 07 '23 20:03 renardeinside