What is your goal?
To determine the precise steps in the Make UI to resolve the “Missing value of required parameter json” error - so I can create an output in Word.
What is the problem & what have you tried?
“Missing value of required parameter json” error.
Error messages or input/output bundles
I have an OpenAI module that outputs JSON, and I’m passing it into a JSON / Parse JSON module. I’m getting BundleValidationError: Missing value of required parameter ‘json’. Which field from the OpenAI module should I map into the JSON parameter so the module receives the JSON string correctly?
1 Like
Hi @Jenny_Sanchez ,
Please make the following adjustments:
-
Pass the result field from the OpenAI module output to Parse Json Module.
-
Update the OpenAI response format – Change the Response Format from Text to JSON Object to ensure the module returns a proper JSON output.
-
Update the prompt – Instruct the model to “Return a valid JSON object only, with no extra text, markdown, or backticks.”
These changes will ensure the OpenAI module returns valid JSON that can be reliably used in the next step.
Please have a try and let me know any issues persist.
With regards,
Mohamed Jahar
Hey Jenny,
you don’t need a parse JSON module after an OpenAI module. The OpenAI module can be configured to parse the JSON for you already. Its under advnced settings. Its under Advanced settings:
Hi Stoyan. Thanks for your advice. I can only see these when I turn on Advanced Settings.
Thanks, Mohamed. I tried this yesterday but did not work.
@Mohamed_Jahar this finally worked. Thank you.