# API Explorer returns 404 for custom RPCs with prefix ("/") in name

**URL:** https://forum.heroiclabs.com/t/api-explorer-returns-404-for-custom-rpcs-with-prefix-in-name/6438
**Category:** Runtime Framework
**Tags:** console
**Created:** [October 26, 2025, 3:23pm UTC](https://forum.heroiclabs.com/t/api-explorer-returns-404-for-custom-rpcs-with-prefix-in-name/6438 "2025-10-26T15:23:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sadegh-askari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sadegh-askari/32/1396_2.png) [@sadegh-askari](https://forum.heroiclabs.com/u/sadegh-askari)
#### Post date: [October 26, 2025, 3:23pm UTC](https://forum.heroiclabs.com/t/api-explorer-returns-404-for-custom-rpcs-with-prefix-in-name/6438/1 "2025-10-26T15:23:42Z")

</div>

When defining custom RPCs in Go using the `initializer.RegisterRpc`, everything works correctly when called from the client.  
However, RPCs that include a **slash prefix (`/`) in their ID** (e.g., `"friend/suggest"`) **cannot be called from the Nakama Console → API Explorer**.  
The API Explorer returns a `404 Not Found` error, while the same RPC works fine from client calls.

For example, the RPC `notification_send` (which does **not** contain a slash in its name) can be called successfully from both the client and the API Explorer, so the issue only affects RPCs that include `/` in their IDs.

It’s also worth noting that if the same setup is run locally via Docker and accessed from [http://localhost:7777](http://localhost:7777), the API Explorer can successfully call the RPCs.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/heroiclabs/original/2X/1/1207138b35ad6b4111d07aec187941e63d32b31a.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/heroiclabs/original/2X/8/8a7e772184963a22e2cef157ba6e2fb7f1e2b250.png)

---

<div class="post-metadata">

### Author: ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)
#### Post date: [October 27, 2025, 11:03am UTC](https://forum.heroiclabs.com/t/api-explorer-returns-404-for-custom-rpcs-with-prefix-in-name/6438/2 "2025-10-27T11:03:37Z")

</div>

Hi @sadegh-askari,

Thank you for reporting, we’ve created an internal ticket and we’ll investigate.

Best
