Issue Importing JSON Workflow in n8n

Hi everyone,

I’m having trouble importing a JSON workflow file into n8n. I keep encountering the error message, “Could not import file. The file does not contain valid JSON data.”

This workflow is from a course I’m currently taking on n8n, and my friends were able to import it successfully without issues. I’ve already validated the JSON, and everything seems correct, but the error persists.

I’m using n8n version [mention the version of n8n you’re using].

Has anyone experienced something similar or have any suggestions on how to fix this?

Thanks in advance for your help!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

This is one of those things where we need to see the JSON to check for errors - although if you say you have validated it and others can import it all ok then it should be ok.

You could ask one of them who has imported it correctly to download the JSON file so you can import that way

1 Like

What @gleeballs said. Also, how do you do the importing - through the API? I’m asking because a copy/paste won’t give you this type of error…

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