Hi Jay
I just check it in File Uploader v2.4.1 on Studio Pro 11.8-> The widget constructs the download URL incorrectly when using System.FileDocument in advanced mode. As a Temporary workaround Until a patch is released, trigger download via a microflow button using the built-in Download File activity instead of relying on the widget's icon button.
Another method is to construct the file url to open it in via browser when user click the image container or external button. Use get object guid action and construct the file url like /file?fileID={GUID}&forDownload=true. this will work .
example:https://yourapp.mendixcloud.com/file?fileID=1234567890abcdef&forDownload=true
I hope this helps
Hi,
This is a known issue in Mendix 11.8 with File Uploader v2.4.1, where the download URL is not constructed correctly, leading to:
Failed to construct 'URL': Invalid URL
The widget tries to generate a download URL for System.FileDocument, but in 11.8 the URL handling (React client) is stricter. If the base URL or file URL is not properly resolved, it results in an invalid URL.
1. Upgrade the File Uploader widget
Check Marketplace for a newer version (> 2.4.1).
This issue has been addressed in later releases.
2. Use default Mendix download instead of widget download
Instead of relying on the widget’s download icon:
This works reliably with System.FileDocument.
3. Ensure correct URL configuration
If you are using custom base URLs / reverse proxy:
ApplicationRootUrl is correct4. Temporary workaround (if upgrade not possible)
Disable widget download feature and:
5. For UI requirement (drop area only)
You can:
This is a widget compatibility issue with Mendix 11.8, not a problem with your implementation. The reliable fix is to upgrade the widget or handle downloads via Mendix microflow, avoiding the built-in download action of the widget.