0044-00000307

Updated at:

Problem description

The time span between the StartTime and EndTime parameters in a GetVodPlaylist request is more than one day.

Causes

This error occurs because the StartTime and EndTime parameters in the GetVodPlaylist request are invalid. The value of EndTime must be greater than the value of StartTime, and the time span between the two parameters cannot be more than one day.

Sample problem

For example, consider the following request:

GET /test-channel?vod&endTime=1472020226&startTime=1470000000 HTTP/1.1
Date: Thu, 25 Aug 2016 07:13:26 GMT
Host: test-bucket.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************

This request fails because the time span between StartTime and EndTime is more than one day.

Solution

Set StartTime and EndTime to valid UNIX timestamps. Ensure that the value of EndTime is greater than the value of StartTime and that the time span between the two parameters is not more than one day. The following is an example of a valid request:

GET /test-channel?vod&endTime=1472020226&startTime=1472020031 HTTP/1.1
Date: Thu, 25 Aug 2016 07:13:26 GMT
Host: test-bucket.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************

References