I have a form submitting a file upload to a NextJS API route, and it did two things; one was from.upload() to a bucket, and the other saw that the result was available and from.download() ...ed it.
Afterwards, I sent the resulting file as a blob to the front end, and made an
with that blob URL as the href and clicked it to 'force the download' of the new file.
I was so pleased, and then I left and came back later tonight and I didn't remember changing my code but it didn't work anymore. I can't figure out how I farted it up but the file is still very much there, console.logging the "data" from the from.download() call shows a bunch of info around the same size as the file, but anything I sent back to the front end shows as empty.
Can anyone with objective outside eyes think of a path back to working?