Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi,
I have a Create Project Macro, which will give me the following error when I have a dynamic select parameter in runnable.json. If I changed the param to static select, it will work.
What am I missing?
Thanks,
Error Message:
"message": {
"callPath": "/api/plugins/call-python-do",
"auditTopic": "generic",
"msgType": "plugin-python-do",
"componentId": "template-odf",
"authSource": "USER_FROM_UI",
"pluginId": "odf-template",
"errorType": "com.dataiku.dip.CodedRuntimeException",
"errorMsg": "Ambiguous componentId template-odf matches 2 components",
},
Code fragments:
runnable.json:
Hi @Dominic-S ,
The error :Ambiguous componentId template-odf matches 2 components", suggests you have multiple component with the same ID "template-odf". Based on the code snippets provided alone, I can't see where this is occurring you may have other component types with the same id.
As I am unable to create 2 components with the same ID of the same type from the UI.
Could you please create a support ticket with a zip of the plugin so we can debug further?
Thanks,
Hi @Dominic-S ,
The error :Ambiguous componentId template-odf matches 2 components", suggests you have multiple component with the same ID "template-odf". Based on the code snippets provided alone, I can't see where this is occurring you may have other component types with the same id.
As I am unable to create 2 components with the same ID of the same type from the UI.
Could you please create a support ticket with a zip of the plugin so we can debug further?
Thanks,
Hi Alex,
Thanks for your reply.
What puzzles me is that if I hard-coded the select's choices, instead of using "getChoicesFromPython", I will not get that error.
Thanks,
Hi Alex,
How can I find out the componentId, I am able to find the pluginId from plugin.json, but I don't know where I can find the component Id from either runnable.json or connector.json
Thanks
The component ID is the one defined blow it create a folder with that id
As mentioned I thin it would be easiest if you can submit a support ticket with the current export of the plugin and your confirming your DSS, to help us understand and reproduce this.
Hi Alex,
I will submit a support ticket as you suggested.
Thanks