Processing fails when setting the maxDurationSeconds with: The video duration exceeded the constraint set by the account holder

Hey,

So when I make a request with the upload metadata as:

      headers: {
        'Tus-Resumable': '1.0.0',
        'Upload-Length': uploadLengthInBytes,
        'Upload-Metadata': '',
      }

the default maxDurationSeconds is used in the video metadata (14400 seconds) and everything works however when I try to set the maxDurationSeconds in the Upload-Metadata header then processing fails with the message “The video duration exceeded the constraint set by the account holder”. This happens regardless of the video length e.g. if I manually set a maxSecondsDuration of 100 and post a 1 second video it will still fail with that error message.

e.g.

        'Tus-Resumable': '1.0.0',
        'Upload-Length': uploadLengthInBytes,
        'Upload-Metadata': 'maxdurationseconds MTAw',

I have checked the JSON on the details of the upload and can confirm everything looks fine - the value of 100 seconds shows correctly in the maxDurationsSeconds field.

Anyone know why this might be?

This still isn’t working for me. Where is Cloudflare support?

Hi there!

I’ve replied on the ticket #2664122.

Take care!