# Kafka REST Proxy produce v3 returns 404 not found

**URL:** <https://forum.confluent.io/t/kafka-rest-proxy-produce-v3-returns-404-not-found/5222>\
**Category:** REST Proxy\
**Created:** [7 June 2022 06:47 UTC](https://forum.confluent.io/t/kafka-rest-proxy-produce-v3-returns-404-not-found/5222 "2022-06-07T06:47:21Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ranharari4fabric](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@ranharari4fabric](https://forum.confluent.io/u/ranharari4fabric)\
**Post date:** [7 June 2022 06:47 UTC](https://forum.confluent.io/t/kafka-rest-proxy-produce-v3-returns-404-not-found/5222/1 "2022-06-07T06:47:21Z")

</div>

Hi,  
I cannot produce a message with a self hosted Kafka REST Proxy v3.

Setup:

- Confluent standard cluster
- Deployed Kafka REST Proxy

I am trying to produce a record using my self managed Kafka REST Proxy with the following call:

`curl -X POST -H "Content-Type: application/json" "https://myhost.net/v3/clusters/mycluster/topics/mytopic/records" -d '{"key": "1", "value": "10"}'`

It returns:  
`{"error_code":404,"message":"HTTP 404 Not Found"}`

I don’t understand why this is not working. The code exists, the configuration seems to support v3 (listing topics with v3 does work), I am using my managed REST Proxy, and not a hosted one / Confluent’s. What am I missing here?

---

<div class="post-metadata">

**Author:** ![jlee](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jlee](https://forum.confluent.io/u/jlee)\
**Post date:** [7 June 2022 13:42 UTC](https://forum.confluent.io/t/kafka-rest-proxy-produce-v3-returns-404-not-found/5222/2 "2022-06-07T13:42:17Z")

</div>

What version of Confluent are you using?

For what it’s worth, this worked for me against a 7.1.1 cluster:

```auto
curl http://localhost:8090/kafka/v3/clusters/MXeugl1RT6aI-2PdIze2fA/topics/test/records \
  -H 'content-type:application/json' \
  -X POST \
  -d '{"partition_id":0,"headers":[],"key":{"type":"BINARY","data":"Zm9vYmFy"},"value":{"type":"BINARY","data":"Zm9vYmFy"},"timestamp":"2021-02-05T19:14:42Z"}'

```

---

<div class="post-metadata">

**Author:** ![ranharari4fabric](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@ranharari4fabric](https://forum.confluent.io/u/ranharari4fabric)\
**Post date:** [8 June 2022 06:50 UTC](https://forum.confluent.io/t/kafka-rest-proxy-produce-v3-returns-404-not-found/5222/3 "2022-06-08T06:50:56Z")

</div>

I am using a managed kafka cluster in Confluent, and a self managed REST Proxy (chart version 6.1). What do you mean by “version of Confluent”?

Besides, why would the cluster version matter? Producing with v2 (…/topics/mytopic) does work, so I’d expect v3 to work as well (uses the same producer if I’m not wrong).

---

<div class="post-metadata">

**Author:** ![HattoriEnzo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/hattorienzo/32/3387_2.png) [@HattoriEnzo](https://forum.confluent.io/u/HattoriEnzo)\
**Post date:** [13 December 2023 11:40 UTC](https://forum.confluent.io/t/kafka-rest-proxy-produce-v3-returns-404-not-found/5222/4 "2023-12-13T11:40:10Z")

</div>

I have same problem on my local (dev) env of Confluent. Any solution?

---

<div class="post-metadata">

**Author:** ![Meekohi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/meekohi/32/5009_2.png) [@Meekohi](https://forum.confluent.io/u/Meekohi)\
**Post date:** [18 March 2025 18:30 UTC](https://forum.confluent.io/t/kafka-rest-proxy-produce-v3-returns-404-not-found/5222/5 "2025-03-18T18:30:23Z")

</div>

This post was flagged by the community and is temporarily hidden.

---

<div class="post-metadata">

**Author:** ![mmuehlbeyer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/mmuehlbeyer/32/1088_2.png) [@mmuehlbeyer](https://forum.confluent.io/u/mmuehlbeyer)\
**Post date:** [19 March 2025 07:26 UTC](https://forum.confluent.io/t/kafka-rest-proxy-produce-v3-returns-404-not-found/5222/6 "2025-03-19T07:26:43Z")

</div>

which version are you referring to?  
Confluent Cloud or Confluent Platform?

---

<div class="post-metadata">

**Author:** ![Meekohi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/meekohi/32/5009_2.png) [@Meekohi](https://forum.confluent.io/u/Meekohi)\
**Post date:** [19 March 2025 12:14 UTC](https://forum.confluent.io/t/kafka-rest-proxy-produce-v3-returns-404-not-found/5222/7 "2025-03-19T12:14:02Z")

</div>

Apache Kafka from [kafka 20.0.4 · bitnami/bitnami](https://artifacthub.io/packages/helm/bitnami/kafka/20.0.4)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [19 March 2025 12:14 UTC](https://forum.confluent.io/t/kafka-rest-proxy-produce-v3-returns-404-not-found/5222/8 "2025-03-19T12:14:04Z")

</div>

This topic is temporarily closed for at least 1000000 hours due to a large number of community flags.
