Survey banner
Switching to Dataiku - a new area to help users who are transitioning from other tools and diving into Dataiku! CHECK IT OUT

Tutorial - Use your custom recipe in the flow issue

Level 1
Tutorial - Use your custom recipe in the flow issue


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/", line 194, in <module>
[2019/05/28-15:54:58.302] [null-err-46] [INFO] [dku.utils] - exec(
[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'


0 Kudos
4 Replies
Level 1

Same to me!

0 Kudos


I have not seen this error in any of my python recipes at the moment.

Can you clarify the link to the tutorial?

What version of DSS are you using v7.x or v8.x or some other version? Have you changed versions recently?

What version of Python?

Is it in a specific code environments? 

Dataiker Alumni

I'm pretty sure @itsjacqui  is  talking about this tutorial:

Typically there is some small transcription error between the code shown in the course and the code a person has in their instance.  Since @nhanngo  is getting the same error, that makes me a little worried there's something wrong in the code shown in the course.  I'll try to replicate and debug it later today, but other users interested in plugins are welcome to try to solve it before I do.  🙂


I got the exact issue while building the plugin. I created versions of the same plugin, so it points to the older one, which doesn't have the parameter defined. Just deleting the copies of the Plugin will resolve this issue.

0 Kudos