Users uploading files/videos (<250mb) get msg login session expired

When a user tries to upload a video (up to 250MB in size), they get the following message “Sorry, your login session has changed / expired… please try again”.

We are using the FileUploader element.

Does anyone know what this is about?

Any help is appreciated.

Thanks

  1. Upload timeout – Bubble’s default uploader doesn’t handle very large uploads gracefully. A 250MB upload may take long enough that the security token expires.

  2. Browser / session refresh – if the app auto-refreshes authentication tokens while the upload is still in progress, the upload fails with that error.

  3. FileUploader limitations – the built-in uploader isn’t optimized for very large uploads (Bubble recommends smaller files, usually <50MB).

Solutions

    1. Use the “Multi-File Uploader” instead of FileUploader

      • Oddly, Bubble’s Multi-File Uploader handles larger files a bit better, even if you only allow one file.

      • Try replacing the FileUploader with Multi-File Uploader (set max number of files = 1).

    2. Upload directly to a cloud service (S3, Uploadcare, Filestack, Cloudinary, Wasabi, etc.)

      • Instead of going through Bubble’s uploader, you can use:

        • Upload Buddy plugin

        • [Uploadcare / Filestack plugins]

        • Or integrate directly with AWS S3 signed URLs.

      • These services handle large uploads much more reliably.

    3. Break files into smaller sizes

      • If possible, compress or split videos before upload.

      • Bubble is not really designed for 250MB uploads directly.

    4. Check session settings

      • In your app’s Settings → General → Session Timeout, make sure session expiration isn’t super short.

      • But this usually won’t fix the core problem (token refresh mid-upload).

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.