ERROR: Unexpected end of JSON input

Hello community,

API error

ERROR: Unexpected end of JSON input

Please share the workflow

Doc : Multilead Open API

I can’t get the error reason, any help on that please.

Thanks

It works, I can see the leads added to my compaign but still receiving the error.

Hi @TheG, hope you’re well?

If the request itself works but n8n throws an error suggesting the JSON is invalid, I imagine the API you’re calling might not respond with JSON.

Perhaps you can change the response format to Text (under Add OptionResponse)? Like so:
image

1 Like

Thank you for the help !

I toggled on the “never error” and it works well :

image

1 Like

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