0 votes

Hi,

I am completing the "How to create a custom recipe" tutorial and am having issues using the custom recipe in flow. When I click run I get the error: "Error in Python process: At line 41: <type 'exceptions.KeyError'>: parameter_name"

[2019/05/28-15:54:58.300] [null-err-46] [INFO] [dku.utils]  - *************** Recipe code failed **************
[2019/05/28-15:54:58.301] [null-err-46] [INFO] [dku.utils]  - Begin Python stack
[2019/05/28-15:54:58.301] [null-err-46] [INFO] [dku.utils]  - Traceback (most recent call last):
[2019/05/28-15:54:58.302] [null-err-46] [INFO] [dku.utils]  -   File "/Users/Jacqueline/Library/DataScienceStudio/dss_home/jobs/DKU_TUTORIAL_FIRSTPLUGIN/Build_output_2019-05-28T19-54-54.569/compute_output_NP/custom-python-recipe/pyout4mu5Z3gPUZcs/python-exec-wrapper.py", line 194, in <module>
[2019/05/28-15:54:58.302] [null-err-46] [INFO] [dku.utils]  -     exec(f.read())
[2019/05/28-15:54:58.302] [null-err-46] [INFO] [dku.utils]  -   File "<string>", line 41, in <module>
[2019/05/28-15:54:58.303] [null-err-46] [INFO] [dku.utils]  - KeyError: 'parameter_name'

Thanks!

by
Can you double check that you followed every step of the tutorial? Especially this part https://academy.dataiku.com/latest/tutorial/plugins/recipe.html#edit-definitions-in-recipe-json

Please log in or register to answer this question.

1,299 questions
1,327 answers
1,507 comments
11,867 users

┬ęDataiku 2012-2018 - Privacy Policy