Problem description
The interval between the start time specified by StartTime and the end time specified by EndTime is greater than one day.
Causes
The StartTime and the EndTime parameters in the GetVodPlaylist request do not meet the requirements. The value of EndTime must be greater than the value of StartTime. The interval between StartTime and EndTime cannot be greater than one day.
Examples
For example, you initiate 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****************The error is returned for the preceding request because the interval between StartTime and EndTime is greater than one day.
Solutions
Specify UNIX timestamps as the values of StartTime and EndTime, and make sure that the value of EndTime is greater than the value of StartTime and that the interval between StartTime and EndTime is less than or equal to one day.
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****************