File input API null value

Hi everyone,
I have a rather strange error on a feature that I have managed dozens and dozens of times without any problems.
I have a form with a file upload field

<form id="Frm" is="dmx-serverconnect-form" method="post" action="/api/pacchetti/create-update" dmx-on:start="Preload.show()" dmx-on:error="Preload.hide();Notification.danger(lastError.response)" dmx-on:unauthorized="Browser.goto('/')" dmx-on:invalid="Preload.hide();Notification.danger(lastError.response.getValueOrKey('error'))" enctype="multipart/form-data">
    <div class="form-row">
        <input class="form-control" id="inp_token" placeholder="---" name="token" dmx-bind:value="sessionStorage.data.authtoken" type="hidden">
        <input class="form-control" id="inp_id" placeholder="---" name="id" type="hidden">
        <div class="form-group col-12">
            <label for="inp_imageurl" class="custom-label">Immagine</label>
            <input type="file" class="form-control-file" id="inp_imageurl" name="imageurl" accept=".jpg, .png, .jpeg" data-msg-accept="Solo immagini in formato {0}" data-rule-maxtotalsize="5000000" data-msg-maxtotalsize="Limite massimo 5MB">
        </div>

When I send the form I see the binary file sent in post to my API correctly

1

In the API I inserted a response that should track the name of the file but the result is always null

I can't figure out where the problem is, do you have any suggestions on how to solve it?

I don't usually see the name until after the file upload has completed (using Wappler's file upload element). At that point, I can get the document name from the file upload's output.

I'm trying to call an API that wants an id and the file as a body.
If I do a simulation from my API client everything works correctly, while if I use the flow you see in the image it tells me that there is no file.
As if the file binary was not sent to the API.
Is the procedure I'm doing correct?
Sorry @Teodor if I tag you but if you can help me I would be grateful

Client API test

Wappler action

Response error

What happens if you try to output any of the other imageurl properties? $_POST.imageurl.size for example? Check if it's just the name that's failing, or if the issue is with referencing imageurl.

You can also type in dmx.app.data into the developer console and see all of the objects on the page.