You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] TypeScript ADK returns -32003 when push notifications are disabled #929
The TypeScript ADK now returns JSON-RPC -32003 (PushNotificationNotSupportedError, A2A v1.0.1 section 5.4) instead of -32601 (Method Not Found) when an agent card sets capabilities.pushNotifications to anything but true and a caller invokes one of the push notification config methods (Create/Get/List/Delete TaskPushNotificationConfig). The methods are now always registered; the handler reports the capability gap. error.data carries the google.rpc.ErrorInfo entry with reason PUSH_NOTIFICATION_NOT_SUPPORTED.
New public export: createPushNotificationNotSupportedHandler(), plus the PUSH_NOTIFICATION_NOT_SUPPORTED_ERROR entry in JSONRPC_ERROR_CODES.
Affected pages: the TypeScript ADK error-code / push notification pages (anywhere the A2A error table or the push notification capability is documented).
Acceptance Criteria
Error-code reference lists -32003 PushNotificationNotSupportedError with the PUSH_NOTIFICATION_NOT_SUPPORTED ErrorInfo reason
Push notification docs state that the config methods answer -32003 (not -32601) when the card disables the capability
createPushNotificationNotSupportedHandler() documented for consumers registering methods on A2AServer directly
Validate: bun run lint:md, bun run format:check, bun run build all pass
Commit + open PR
What changed
One new section in typescript-adk.md after "Configuring push notifications per task": When the card disables push notifications (-32003).
A2AServerBuilder.build() keeps all four TaskPushNotificationConfig methods registered when capabilities.pushNotifications is not true; they answer -32003 PushNotificationNotSupportedError (A2A v1.0.1 section 5.4) rather than -32601.
Full error envelope with the google.rpc.ErrorInfo entry in error.data (reason: PUSH_NOTIFICATION_NOT_SUPPORTED, domain: a2a-protocol.org), the JSONRPC_ERROR_CODES.PUSH_NOTIFICATION_NOT_SUPPORTED_ERROR export, and a code-reference row.
createPushNotificationNotSupportedHandler() subsection with a snippet for direct A2AServer.registerMethod consumers, verified against the barrel exports in src/server/index.ts.
Page frontmatter description extended for search.
Not done: no separate ADK-wide error-code table was created - this page has no central error table today and the other A2A codes (-32004, -32007, -32009) are undocumented, so adding one is a larger pass. Say the word if you want it.
| Branch | PR #931
Activity
edenreich commentedon Oct 3, 2026
@claude can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Oct 3, 2026
Claude finished @edenreich's task in 2m 43s —— View job •
docs/issue-929-20261003-1336• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-929-20261003-1336?quick_pull=1&title=Issue%20%23929%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23929%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - PR #931
push-notification-config.ts,jsonrpc.tsandserver-builder.tsto document the actual envelope)PUSH_NOTIFICATION_NOT_SUPPORTEDto the error-code referencecreatePushNotificationNotSupportedHandler()bun run lint:md,bun run format:check,bun run buildall passWhat changed
One new section in
typescript-adk.mdafter "Configuring push notifications per task": When the card disables push notifications (-32003).A2AServerBuilder.build()keeps all fourTaskPushNotificationConfigmethods registered whencapabilities.pushNotificationsis nottrue; they answer-32003 PushNotificationNotSupportedError(A2A v1.0.1 section 5.4) rather than-32601.google.rpc.ErrorInfoentry inerror.data(reason: PUSH_NOTIFICATION_NOT_SUPPORTED,domain: a2a-protocol.org), theJSONRPC_ERROR_CODES.PUSH_NOTIFICATION_NOT_SUPPORTED_ERRORexport, and a code-reference row.createPushNotificationNotSupportedHandler()subsection with a snippet for directA2AServer.registerMethodconsumers, verified against the barrel exports insrc/server/index.ts.descriptionextended for search.Not done: no separate ADK-wide error-code table was created - this page has no central error table today and the other A2A codes (
-32004,-32007,-32009) are undocumented, so adding one is a larger pass. Say the word if you want it.| Branch | PR #931
inference-gateway-releaser commentedon Oct 4, 2026
🎉 This issue has been resolved in version 0.9.21 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀