Skip to content

Can't upload files which take longer than 24 hours using resumable upload #1570

@ncw

Description

@ncw

Category

  • Question
  • Documentation issue
  • Bug

Expected or Desired Behavior

I would like to be able to upload files which take longer than 24 hours to upload.

Observed Behavior

The resumable upload session expires after 24 hours with an error like this

expiredToken: The access token has expired. It's valid from '2/23/2022 3:45:26 PM' and to '2/24/2022 3:45:26 PM'.

Steps to Reproduce

Create a resumable upload.

This has an an expiry date expirationDateTime which always seems to be 24 hours after the upload session starts.

This expiry date should probably move forwards each time a valid chunk is uploaded otherwise total upload time is limited to 24h.

This was originally reported in the rclone forum

[ ]: http://aka.ms/onedrive-api-issues
[x]: http://aka.ms/onedrive-api-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions