Managed folder name not found: "folder_name' in "Project_key"

Carl Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 19 ✭✭✭✭


When I try to create a folder from a python recipe I get following error message :

and a lot more messages with same content "Managed Folder not found"

Context :

I've created a python recipe and I want to save the result "an image" into a specific folder.

When we create a python Recipe, we specified, Input/Output dataset, which means Output Dataset will be file system managed and type CSV

We can change this settings after create Recipe but the issue remain the same.

Let me give an example, if you load Variables for Coders Tutorial, you will have this flow :

Screenshot 2022-04-15 at 12.09.19.png

Opening the python recipe you can see in this line, the folder is already filled with value "dy9hOjP1"

# -------------------------------------------------------------------------------- NOTEBOOK-CELL: CODE
folder_for_plot = dataiku.Folder("dy9hOjP1")

Now, try to create a new Recipe as image below :

Screenshot 2022-04-15 at 12.11.29.png

A output Filesystem will be requested

Copy the code from previous recipe and replace with "your_folder_name

# -------------------------------------------------------------------------------- NOTEBOOK-CELL: CODE

folder_for_plot = dataiku.Folder("your_folder_name")

Validate, Save an Run and we get error message "Managed folder not found"

Below 2 more screenshots comparing settings between 2 managed Folder (dy9hOjP1 vs images)


Screenshot 2022-04-15 at 12.16.12.png


Screenshot 2022-04-15 at 12.16.49.png


How can we solve this issue considering working in a "real" production environment I need to store graphics in a file system ?


Best Answer

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,209 Dataiker
    Answer ✓

    Hi @Carl

    "Images" is a dataset and not a folder.

    When you create your python Recipe you should select to create a folder.

    As you already the recipe go to the input/outputs tab + Add + Create Folder at the bottom, of t

    Screenshot 2022-04-15 at 12.00.05.png

    Screenshot 2022-04-15 at 11.55.38.pngScreenshot 2022-04-15 at 11.56.15.png

    Then you will see the output folder ID in the recipe:Screenshot 2022-04-15 at 11.58.26.png

    Within a folder, you can store images and interact with the folder using read/write APIs

    Let me know if that helps.

Setup Info
      Help me…