# Invalid Peer Response

**URL:** <https://forum.codecrafters.io/t/invalid-peer-response/16276>\
**Category:** Bug Reports\
**Tags:** challenge:bittorrent\
**Created:** [September 12, 2026, 2:40am UTC](https://forum.codecrafters.io/t/invalid-peer-response/16276 "2026-09-12T02:40:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thestuckster](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/thestuckster/32/28617_2.png) [@thestuckster](https://forum.codecrafters.io/u/thestuckster)\
**Post date:** [September 12, 2026, 2:40am UTC](https://forum.codecrafters.io/t/invalid-peer-response/16276/1 "2026-09-12T02:40:30Z")

</div>

When doing the download a piece challenge the tracker isn’t returning a valid response

[your\_program] Raw response body: d8:completei0e10:incompletei1e8:intervali60e12:min intervali60ee  
[your\_program] Unmarshalled response: {Interval:60 MinInterval:60 Peers: DecodedPeers:[] Complete:0 Downloaded:0 Incomplete:1}

---

<div class="post-metadata">

**Author:** ![yeswanth](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/yeswanth/32/27558_2.png) [@yeswanth](https://forum.codecrafters.io/u/yeswanth)\
**Post date:** [September 12, 2026, 1:36pm UTC](https://forum.codecrafters.io/t/invalid-peer-response/16276/3 "2026-09-12T13:36:14Z")

</div>

Hi @thestuckster  
I request you to go through other threads describing a similar issue. Here are two:

1. [Peer does not respond with a "piece" message to a valid "request" message? (always the same block)](https://forum.codecrafters.io/t/peer-does-not-respond-with-a-piece-message-to-a-valid-request-message-always-the-same-block/1090)
2. [Download a piece #nd2](https://forum.codecrafters.io/t/download-a-piece-nd2/1913)

Let me know if any of these help 🙂
