# Unable to post drop notification

**URL:** <https://staging-discuss.dev.twitch.com/t/unable-to-post-drop-notification/27017>\
**Category:** Drops\
**Created:** [July 9, 2020, 4:01pm UTC](https://staging-discuss.dev.twitch.com/t/unable-to-post-drop-notification/27017 "2020-07-09T16:01:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abvadabra](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/abvadabra/32/8721_2.png) [@Abvadabra](https://staging-discuss.dev.twitch.com/u/Abvadabra)\
**Post date:** [July 9, 2020, 4:01pm UTC](https://staging-discuss.dev.twitch.com/t/unable-to-post-drop-notification/27017/1 "2020-07-09T16:01:17Z")

</div>

While implementing Twitch Drops integration with our game I successfully followed all steps except the last - sending drop notification to twitch.

My manifest file looks like this

```auto
{
  "campaign_id": "2d9730c5-b6bd-4f98-8fd3-c6dcb982df26",
  "client_id": "<client id>",
  "game_watched": "<game name from vhs>",
  "broadcaster_id": "GameUsername1",
  "item_id": "2d9730c5-b6bd-4f98-8fd3-c6dcb982df26",
  "reason": "watching",
  "users": [
    "GameUsername2"
  ]
}

```

And it’s successfully uploaded to the url received from twitch (response status 200), but after waiting for almost 20 minutes I still don’t see any notification from twitch and my inventory is empty.

What am I missing here?  
P.S. Judging from the list of threads in this forum it seems to be quite a frequent problem and I’m really looking forward for these announced tools for Drops debugging.

---

<div class="post-metadata">

**Author:** ![matwalsh](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/matwalsh/32/7201_2.png) [@matwalsh](https://staging-discuss.dev.twitch.com/u/matwalsh)\
**Post date:** [July 9, 2020, 4:50pm UTC](https://staging-discuss.dev.twitch.com/t/unable-to-post-drop-notification/27017/2 "2020-07-09T16:50:12Z")

</div>

Your uploaded text is including the headers and some sort of request ID or something?

```json
--3Y[...redacting ID if it is sensitive]
Content-Disposition: form-data; name="manifest-json.json"; filename="manifest-json.json"
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary

```

---

<div class="post-metadata">

**Author:** ![Abvadabra](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/abvadabra/32/8721_2.png) [@Abvadabra](https://staging-discuss.dev.twitch.com/u/Abvadabra)\
**Post date:** [July 9, 2020, 5:17pm UTC](https://staging-discuss.dev.twitch.com/t/unable-to-post-drop-notification/27017/3 "2020-07-09T17:17:14Z")

</div>

I still don’t know exactly what was the problem, but I changed a bit how we were using our http library and it seems to work fine now.

For anyone struggling with similiar problem and happens to be using Apache HttpClient from JVM language - make entity for your request via basic EntityBuilder and not MultipartEntityBuilder.

E.g. in our case I replaced

```auto
val put = HttpPut(uploadUrl)
put.entity = MultipartEntityBuilder.create()
                .addBinaryBody("manifest-json.json", manifest.toByteArray(Charsets.UTF_8))
                .build()

```

with

```auto
val put = HttpPut(uploadUrl)
put.entity = EntityBuilder.create().setBinary(manifest.toByteArray())
                .setContentType(ContentType.APPLICATION_FORM_URLENCODED).build()

```

and it seems to work fine now.

Cheers for @matwalsh for help.

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [July 16, 2020, 5:17pm UTC](https://staging-discuss.dev.twitch.com/t/unable-to-post-drop-notification/27017/4 "2020-07-16T17:17:21Z")

</div>

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