CLI workflow imports failing after upgrade to v1.18.0

Describe the problem/error/question

~/repo $ n8n import:workflow --input=workflows.json
An error occurred while importing workflows. See log messages for details.
Cannot read properties of undefined (reading ‘on’)

Information on n8n setup

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

Hey @Roney_Dsilva,

This is something we were made aware of last week, Our internal ticket for this is PAY-1086. I am not sure when this will be fixed but we will let you know.


Hi Jon, I’m facing the same issue. Do you know if can I try to manage it with a workaround?

What about purging containers, importing in older version and update?

Hey @matenauta,

You might be able to import the workflow in the UI, To be honest I didn’t give that a test.

New version [email protected] got released which includes the GitHub PR 8001.


Thanks @jan

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