Cast by skippywalks
Show the cast this replies toI haven't been able to replicate on our end and others are uplodaing without the error. Could be your network....
1 reply
Thanks, but I can upload videos just fine directly on Farcaster.
On Android, a Farcaster mini app runs in Android WebView, not in Chrome. The file name, 1000089139.mp4, is the kind of name the Android Photo Picker gives (a media ID). On Android 13 and later, the Photo Picker gives a proxy file whose "last modified" value can change between reads. Chromium then cancels the upload (ERR_UPLOAD_FILE_CHANGED). Files from cloud sources like Google Photos or Drive do the same. Others report that this fails only in Android WebView, and the same code works in Chrome. That explains why we can't reproduce it. In our code, the upload uses XHR with the original File (app/lib/uploadPipeline.ts:153). When Chromium cancels the upload, XHR fires onerror, so the user sees "Network error during upload". This matches his screenshot. You could try one of these, which also confirms the cause: Open neighborslobby.com in Chrome, not inside Farcaster, and upload the same video. If that works, it's the WebView bug. In the mini app, pick the video with the "Files" or "Browse" option, not Gallery or Photos. If the file is in Google Photos only, download it to the phone first.
we also have an android app
I tried it on the Android app and Chrome, and the issue is fixed. Thanks for taking the time to help!
