# Clarifying Questions about pv1: Handle APIVersions requests - What's going wrong?

**URL:** <https://forum.codecrafters.io/t/clarifying-questions-about-pv1-handle-apiversions-requests-whats-going-wrong/9797>\
**Category:** Challenges\
**Tags:** challenge:kafka\
**Created:** [May 2, 2025, 9:33am UTC](https://forum.codecrafters.io/t/clarifying-questions-about-pv1-handle-apiversions-requests-whats-going-wrong/9797 "2025-05-02T09:33:21Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [May 5, 2025, 1:42am UTC](https://forum.codecrafters.io/t/clarifying-questions-about-pv1-handle-apiversions-requests-whats-going-wrong/9797/10 "2025-05-05T01:42:31Z")

</div>

> Also, according to the BinSpec, I’m supposed to support 3 API Versions?

BinSpec shows the **expected format** (the structure of the message), but not the exact **content** or values you should send.

For this stage, you only need to satisfy these two requirements:

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/2X/0/0a6bb7acccd0bcf04a7f96ba63a42d4b2922c8e5.png)

In a real-world scenario, a broker would return [the full list of supported API versions](https://forum.codecrafters.io/t/question-about-vt6-why-do-we-need-to-include-the-describetopicpartitionss-api-key-in-the-apiversions-response/9403/4). For now, keeping it minimal to pass the tester is totally fine.

* * *

@omara569 The `message_size` doesn’t look correct. It should be calculated based on the response payload, not copied directly from the request:

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/2X/b/b917eba7f8ad932ecda0aabbe24bfae9ae3b966a.png)

---

_[View the full topic](https://forum.codecrafters.io/t/clarifying-questions-about-pv1-handle-apiversions-requests-whats-going-wrong/9797)._
