Error in exporting my workflows

When I try to download my workflows from the management page

I get this error - {“valid”:false,“error”:“Bad control character in string literal in JSON at position 151472 (line 1 column 151473)”}

Information on your n8n setup

  • n8n version: 1.93.0
  • **Running n8n via n8n cloud
  • Operating system: n/a
1 Like

Hello!

I think that error message suggests that there’s likely a malformed character or invalid string somewhere in your workflows.
Probably in a field where JSON is expected like a Function node

Specifically, the error means there’s an invisible character like a newline (\n), tab (\t), or something not escaped properly inside a string.

Check it out and let me know!

hm this could be an issue, are you trying to export because your trial ended? I think you may need to reach out to the support team, to access it.
Unless you have access to the workflow GUI still?

Best regards,

Samuel