N8n API Create workflow does not accept workflow with "always return data property"

Hi,

I am trying to import some workflows.
It seems that I get stuck on some of them where the properties that are allowed do not match the properties of the nodes. I found this example:
Error:
image
spec:


Issue found?:

This marked property is not in the spec, so that’s why it is giving an error I guess.

Am I correct? can this be fixed? or is there a work around?

Hi @BramKn, thank you very much for reporting this and sorry for the trouble.

I was able to reproduce this but unfortunately don’t have any solution right now (apart from using the CLI instead of the API). I have added this to our internal bug tracker and we’ll keep you posted on the fix.

1 Like

Just a quick update, @RicardoE105 raised a PR fixing the problem:

It’s not merged yet, but we’ll let you know once this will be rolled out!

1 Like

Got released with [email protected]

2 Likes

This fixed it. Everything was imported now. Thanks!

1 Like