# Camunda 8.7 docker-compose vs. message publication via REST API

**URL:** <https://forum.camunda.io/t/camunda-8-7-docker-compose-vs-message-publication-via-rest-api/61902>\
**Category:** Camunda 8 Topics\
**Created:** [May 7, 2025, 12:15pm UTC](https://forum.camunda.io/t/camunda-8-7-docker-compose-vs-message-publication-via-rest-api/61902 "2025-05-07T12:15:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobeteb853](https://forum.camunda.io/letter_avatar_proxy/v4/letter/b/c77e96/32.png) [@bobeteb853](https://forum.camunda.io/u/bobeteb853)\
**Post date:** [May 7, 2025, 12:15pm UTC](https://forum.camunda.io/t/camunda-8-7-docker-compose-vs-message-publication-via-rest-api/61902/1 "2025-05-07T12:15:07Z")

</div>

Hi, I have clean Camunda 8.7 installed locally using official docker-compose.yaml file without any modifications and If I try to publish message using `/v2/messages/publication` REST API endpoint then I got the following error response:

```json
{
  "type": "about:blank",
  "title": "io.camunda.zeebe.broker.client.api.NoTopologyAvailableException",
  "status": 503,
  "detail": "Expected to handle REST API request, but the gateway does not know any partitions yet",
  "instance": "/v2/messages/publication"
}

```

If I try to do the same but using gRPC protocol, then message is successfully published.

What I am doing wrong, why it is not working via REST API?

---

<div class="post-metadata">

**Author:** ![nathan.loding](https://forum.camunda.io/user_avatar/forum.camunda.io/nathan.loding/32/24171_2.png) [@nathan.loding](https://forum.camunda.io/u/nathan.loding)\
**Post date:** [May 7, 2025, 2:47pm UTC](https://forum.camunda.io/t/camunda-8-7-docker-compose-vs-message-publication-via-rest-api/61902/2 "2025-05-07T14:47:19Z")

</div>

Hi @bobeteb853, welcome to the forum! I suspect you need to [enable the alpha endpoints](https://docs.camunda.io/docs/apis-tools/camunda-api-rest/camunda-api-rest-overview/#query-api). Some endpoints in the unified REST API are still alpha, though they are quite stable and I recommend developing against them.

---

<div class="post-metadata">

**Author:** ![bobeteb853](https://forum.camunda.io/letter_avatar_proxy/v4/letter/b/c77e96/32.png) [@bobeteb853](https://forum.camunda.io/u/bobeteb853)\
**Post date:** [May 7, 2025, 3:47pm UTC](https://forum.camunda.io/t/camunda-8-7-docker-compose-vs-message-publication-via-rest-api/61902/3 "2025-05-07T15:47:26Z")

</div>

I enabled alpha endpoints by setting `CAMUNDA_REST_QUERY_ENABLED=true` in `operate` service but the result is still the same.

---

<div class="post-metadata">

**Author:** ![nathan.loding](https://forum.camunda.io/user_avatar/forum.camunda.io/nathan.loding/32/24171_2.png) [@nathan.loding](https://forum.camunda.io/u/nathan.loding)\
**Post date:** [May 7, 2025, 7:07pm UTC](https://forum.camunda.io/t/camunda-8-7-docker-compose-vs-message-publication-via-rest-api/61902/4 "2025-05-07T19:07:24Z")

</div>

Hi @bobeteb853 - sorry for the confusion, you need to add that to the `zeebe:` section. The REST API you are trying to use is part of our [unified REST API featre](https://camunda.com/blog/2024/03/streamlining-camunda-apis-zeebe-rest-api/), which moves control of the API to Zeebe instead of each component have it’s own API.

---

<div class="post-metadata">

**Author:** ![bobeteb853](https://forum.camunda.io/letter_avatar_proxy/v4/letter/b/c77e96/32.png) [@bobeteb853](https://forum.camunda.io/u/bobeteb853)\
**Post date:** [May 12, 2025, 9:54am UTC](https://forum.camunda.io/t/camunda-8-7-docker-compose-vs-message-publication-via-rest-api/61902/5 "2025-05-12T09:54:33Z")

</div>

@nathan.loding Thank you, it’s working now.

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [May 19, 2025, 9:55am UTC](https://forum.camunda.io/t/camunda-8-7-docker-compose-vs-message-publication-via-rest-api/61902/6 "2025-05-19T09:55:27Z")

</div>

Closed on May 19, 2025, 9:55am UTC

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