Skip to content

Improve API response for non-existent wallet #1097

Closed @tcharchian opened 2026-04-21 19:47 UTC 1 comment Updated 2026-04-22 22:21 UTC

When querying a non-existent wallet via GET https://node3.gonka.ai/v1/participants/{address} the API currently returns a 500 Internal Server Error.

Expected Behavior If the wallet is not found, the API should return 404 Not Found instead of 500

Rationale A missing wallet is a valid client-side case, not a server error. Returning 404 improves API correctness and makes error handling more predictable for clients.


💬 Comments (1)

@tcharchian commented 2026-04-22 22:21 UTC

https://github.com/gonka-ai/gonka/pull/750


🔄 Auto-synced from Issue #1097 every hour.