Problem in node ‘Create Video‘ - JSON parameter needs to be valid JSON

Hi im trying to run my workflow but when it get to the create video section it gives me a Problem in node ‘Create Video‘ - JSON parameter needs to be valid JSON message, how can i fix?

Hey @Anthony_Clarke hope all is good. Welcome to the community.

Could you please execute the flow, open the node which failed and show us the resulting JSON?

I ran into the same issue. The problem was one node before in prepareVideo. There the prompt is extended with 2 newlines \n\n and that breaks the json. In the example from the website n8n it was the “duration: x seconds” string that got appended with the 2 newlines. Split that up into separate parameters and it works like a charm.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.