Hi Xano Support Team,
I am facing a critical issue where the "Create File Resource" function executes successfully (returns HTTP 200) but fails to generate the file, resulting in a null value or an empty file in the database.
The Workflow:
Generate HTML: I create a variable
final_htmlwith valid HTML content.Encode: I convert it to Base64 using the
base64_encodefilter.Create File: I use the "Create File Resource" function, mapping the Base64 variable to the "File Data" input.
Save: I add the result to a database table.
The Problem:
The API endpoint runs successfully without throwing any errors.
However, the output of the "Create File Resource" step is
null(or empty).Consequently, the field in the database remains empty, even though the input variable definitely contains a valid Base64 string (I verified this in the debugger).
What I Checked:
The Base64 string is correct and includes the header:
data:text/html;base64,...The Input type in the function is set to "Var" (not Text).
There are no "Input Error" messages appearing anymore, but the functionality is simply not working as expected.
Could you please investigate why valid Base64 input is being processed as null by the file creation step?