# Error 404 from Create Entitlement Grants Upload URL

**URL:** <https://discuss.dev.twitch.com/t/error-404-from-create-entitlement-grants-upload-url/27723>\
**Category:** API\
**Created:** [August 16, 2020, 4:48am UTC](https://discuss.dev.twitch.com/t/error-404-from-create-entitlement-grants-upload-url/27723 "2020-08-16T04:48:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dongchan\_Shin](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dongchan_shin/32/9992_2.png) [@Dongchan\_Shin](https://discuss.dev.twitch.com/u/Dongchan_Shin)\
**Post date:** [August 16, 2020, 4:48am UTC](https://discuss.dev.twitch.com/t/error-404-from-create-entitlement-grants-upload-url/27723/1 "2020-08-16T04:48:09Z")

</div>

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.

1. get app access token API.  
-REQUEST  
POST [https://id.twitch.tv/oauth2/token?client\_id={clientId}&client\_secret={clientSecret}&grant\_type=client\_credentials](https://id.twitch.tv/oauth2/token?client_id=%7BclientId%7D&client_secret=%7BclientSecret%7D&grant_type=client_credentials)  
-RESPONSE  
{  
“access\_token”: “TOKEN-REMOVED”,  
“expires\_in”: 5019679,  
“token\_type”: “bearer”  
}

2. 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](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}”  
}

---

<div class="post-metadata">

**Author:** ![Dongchan\_Shin](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dongchan_shin/32/9992_2.png) [@Dongchan\_Shin](https://discuss.dev.twitch.com/u/Dongchan_Shin)\
**Post date:** [August 19, 2020, 6:25am UTC](https://discuss.dev.twitch.com/t/error-404-from-create-entitlement-grants-upload-url/27723/2 "2020-08-19T06:25:11Z")

</div>

This issue resolved.  
Reason is I do not set vhs data end point at twitch drops setting.

---

<div class="post-metadata">

**Author:** ![jbulava](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/jbulava/32/6777_2.png) [@jbulava](https://discuss.dev.twitch.com/u/jbulava)\
**Post date:** [August 19, 2020, 6:52pm UTC](https://discuss.dev.twitch.com/t/error-404-from-create-entitlement-grants-upload-url/27723/3 "2020-08-19T18:52:48Z")

</div>

Glad it was resolved! I edited out the OAuth token on your behalf so no one can use it to make API calls. Please be careful to not include tokens when sharing code 🙂

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [September 18, 2020, 6:52pm UTC](https://discuss.dev.twitch.com/t/error-404-from-create-entitlement-grants-upload-url/27723/4 "2020-09-18T18:52:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
