I get this error very often with the openAi API: “ERROR: The data in “Body Parameters” is no valid JSON. Set Body Content Type to “RAW/Custom” for XML or other types of payloads”
Are you in the same case and do you have a solution?
I assume in that case something went wrong and the API does not return an error in JSON rather in for example HTML. So nothing n8n could do. The only thing you can do is to activate the automatic retry, in case those are temporary issues.