Import workflow through cli in n8n

Describe the problem/error/question

I have a workflow that imports my workflows to n8n. I use the Execute command to import it. It was working normally before, and after updating to version 1.20.0, its giving me this error

What is the error message (if any)?

ERROR: Command failed: n8n import:workflow --input=/tmp/workflowName.json

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • **n8n version:1.20.0
  • **Database (default: SQLite):SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):**Docker
  • **Operating system:I work on windows. Bu the server is running on docker as Linux

Hey @Nazih_Saba,

This issue will be fixed by the PR below once merged and released.

Hey @Jon ,
Thanks a lot for the reply.
Any timetable for the latest release?

Hey @Nazih_Saba,

We release weekly but it really depends on how long the internal review takes, We plan to release 1.21.0 in a couple of hours so if it doesn’t make it into that release it will likely be in 1.22.0 next week.

Okay, thank you a lot for your help, Jon. Much appreciated.

No worries, The good news is this change made it into 1.21.0 and is now available so you should be good to import again.

Amazing thanks. Im now upgrading to 1.21.0. Thanks again.

2 Likes

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