everything works fine till the code node, but after that it gives error :
code node executes successfully it shows me the file name, but when I click its borken and also after code node there is openai image generation http node which throws this error :
The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
Replace code block with Merge block. Add input2 to merge from the form. In all the five HTTP Request nodes following the SWITCH node set Input ‘Data Field Name’ to ‘Upload_Product_Image’ under parameter type ‘n8n Binary File’.