CLI command - import failing

Describe the problem/error/question

The commands:
n8n export:workflow --backup --output=/path
n8n export:credentials --backup --output=/path
worked just fine.

But when i tried to import them into the other instance, it doesn’t seem to work.
Commands:
n8n import:workflow --separate --input=/path
n8n import:credentials --separate --input=/path

Note:

What is the error message (if any)?


Origin:

  • n8n version: v1.9.3
  • Database (default: SQLite): Postgres v14
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Windows

Destination:

  • n8n version: v1.9.3
  • Database (default: SQLite): Postgres v14
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Windows

Hey @shrey-42,

Can you run it from the cli outside of n8n to see if you get the same error.