Move Base64 String to File fails

I am using a convert file node to convert a base64 string into a png file. The string can be successfully converted manually. I do use the field name in the node parameter, not its value.

I get the error:

The value in "image_b64" is not set [item 1]

But as you can see from the screenshot, the value of this field is set.

  • n8n version: 1.107.3 (Self Hosted)

Hi @thomas80

Can you pin the output data in the Code node to help with debugging?

Also, something is a bit confusing to me, You’re using the Merge node with these settings:


This means _2 and _1 should be appended to the field names,
But in your screenshot, image_b64 and image_mime are not appended.

That would explain the error: The value in "image_b64" is not set [item 1]

Hi @mohamed3nan ,

image_b64 and image_mime are added in the code node, so they do not have suffixes from the merge node.

But while playing with pinned data, it turns out that for one of the items these two fields are not created. So the error message is in fact correct.

Thanks for your help.

Thomas

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