Problem description
The token specified in the request contains invalid characters.
Causes
You initiate a GetSignedPlaylist request to obtain the URL of an M3U8 file in which each TS segment is signed, but specify a value that contains invalid characters for the x-oss-hls-sign-token header. The value of the header can contain only digits, letters, underscores (_), hyphens (-), and periods (.).
Examples
For example, you initiate the following request:
GET /private/playlist.m3u8?x-oss-process=hls/sign&OSSAccessKeyId=xxxxx&Expires=1470971863&Signature=*** HTTP/1.1
Date: GMT Date
Host: BucketName.oss.aliyuncs.com
x-oss-hls-sign-token: test&*^%abcThe value of the x-oss-hls-sign-token header in the request contains invalid characters &*. As a result, an error is returned.
Solutions
Make sure that the value of the x-oss-hls-sign-token header in the request is no more than 100 characters in length and contains only digits, letters, underscores (_), hyphens (-), and periods (.).