Skip to content

Conversation

@birdayz
Copy link
Contributor

@birdayz birdayz commented Aug 8, 2025

previously we provided only code and message.

e.g. when using claude code as client: Violation error in e.g. dataplane API of redpanda cloud:

Old:

MCP error -32603: invalid_argument: provided parameters are invalid

New:

Error: {"code":"INVALID_ARGUMENT", "message":"provided parameters are invalid", "details":[{"@type":"google.rpc.ErrorInfo", "reason":"REASON_INVALID_INPUT", "domain":"redpanda.com/dataplane"}, 
     {"@type":"google.rpc.BadRequest", "fieldViolations":[{"field":"topic.name", "description":"value does not match regex pattern `^[a-zA-Z0-9._\\-]*$`"}]}]}

previously we provided only code and message.
@birdayz birdayz merged commit 04898b7 into main Aug 8, 2025
4 checks passed
@birdayz birdayz deleted the jb/errorhandling branch August 8, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants