I got a Error 404 at Create Entitlement Grants Upload URL API.
I want to notify the drops viewers about earned Rewards.
Please help me.
-
get app access token API.
-REQUEST
POST https://id.twitch.tv/oauth2/token?client_id={clientId}&client_secret={clientSecret}&grant_type=client_credentials
-RESPONSE
{
“access_token”: “TOKEN-REMOVED”,
“expires_in”: 5019679,
“token_type”: “bearer”
} -
create upload URL API
-REQUEST
*header
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer TOKEN-REMOVED
Client-ID: {clientId}
POST https://api.twitch.tv/helix/entitlements/upload?manifest_id=123456789&type=bulk_drops_grant
-RESPONSE
{
“error”: “Not Found”,
“status”: 404,
“message”: “{\n “status”: 404,\n “message”: “Service not found”,\n “error”: “Not Found”\n}”
}