Passing file resource parameter to function

Options
Hello, I think there is a problem passing a parameter type file resource.

I have a function that receives input a type file resource and two other fields, this function converts the file resource to metadata image and saves in the media table, and returns the url of the image.

Test the function directly in XANO and everything works fine, the file_content parameter I am passing in base64 encoded file format
[insert1.jpg][insert2.jpg]
I also have an api that receives the same resource file and other data, and calls the first function, passing the resource file, but when testing this it sends an error in the function call
[insert3.jpg][insert6.jpg]
Checking debug results, I realized that the file_resource parameter is not passing it in full, or passing other information
[insert4.jpg]
[insert5.jpg]Could you tell me if it's something I did wrong?

Comments