Thanks, I've seen those threads, however they all seem to indicate that it should be supported in public apps now.
I've worked around it by creating a resource query to upload to retool storage when a file gets selected by the File Input. However, if that works, I'm not sure why using the Upload interaction in the File Input doesn't.
Thanks for reaching out and bringing this up. There is definitely some inconsistent behavior here that we probably need to address. As you noted, a POST request directly to the /api/files/upload endpoint fails due to lack of access token but we're able to trigger a query without any issues.
The workaround you've implemented seems like the way to go, for the time being, if you want to allow public uploads. I'll talk to our team about clarifying which of these behaviors is intended and provide any updates here when I can!
Actually, I already have an update here. I was putting together a reproduction of the issue for our dev team and noticed another inconsistency, which seems to speak to the core of the issue.
The file upload works flawlessly when generating a default public link but fails when using a custom URL.