Problem description
The start time specified by the StartTime parameter is later than the end time specified by the EndTime parameter in the GetVodPlaylist request.
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=1472020031&startTime=1472020226 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 value of the EndTime parameter is less than the value of the StartTime parameter.
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****************