Discussions

Ask a Question
Back to all

api error when generating videos through n8n integration

hi team, i'm integrating heygen with n8n and all video generation requests are failing.

here is the exact error returned by the api:

video_inputs.0.voice is invalid: field required


i'm sending the request correctly according to the documentation, and the payload being sent from n8n includes all required parameters. however, the api always returns the same error, even when i change templates, voices, or video settings.

i have also tested different urls, formats, and configurations, but nothing fixes it.

i can provide full logs, screenshots, and json responses if needed.

can you please check why the api is rejecting the "voice" field and help me understand the correct format for this parameter when using n8n?

thanks in advance.