Undefined when running workflow but fine when running node

A client of mine reported an issue with me and we had a look together, managed to reproduce it on my own server with very small data object like shown below.

Describe the problem/error/question

This issue seem to happen after XML to JSON conversion. Without these XML nodes it doesnt happen. Havent tried all options of course but directly from the trigger to the set it is all good but with the XML in between not.
Also when not putting an object in the “array object” so for example just {array:{count:1}} does work fine.

What is the error message (if any)?

in set 3 after running the flow
image

running just that last node after error


image

Please share your workflow

Pinned data in first node

[
  {
    "array": {
      "count": "1",
      "object": {
        "field": "Value"
      }
    }
  }
]

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 0.233.1 (also 228)
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main (queue) + cloud
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker + cloud
  • Operating system: Ubuntu + cloud

Thanks so much for reporting this @BramKn! I was able to reproduce this on 0.234.0 as well and shall add it to our bug tracker for a fix.

1 Like

Hi @MutedJam

Do you have an update for me?
Sorry for the impatience, hitting the same issue again.

I am afraid not. This has been filed internally as N8N-6518, but it looks like there is no PR or priority assigned to the problem yet :confused:

:frowning_face: any idea for a work around fixing the data again so I can continue these workflows with XML data?

Unfortunately not, but perhaps @sirdavidoff from our product team can provide an estimate here.

1 Like

Try this buddy…

It isn’t pretty but it will run

And give you this output at the end

1 Like

Thanks @Jon that works fine idd.
Weird solution but manageble :slight_smile:

1 Like

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

2 Likes

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