# A2AClient.fromCardUrl stops working

Calls to SDK @a2a-js/sdk fromCardUrl from major 1 on Agent2Agent Protocol stopped working on July 22, 2026.

- API: Agent2Agent Protocol (a2a-protocol.org)
- Kind: Endpoint removal
- Takes effect: July 22, 2026
- Calls after that day: fail
- Calls it hits: `SDK @a2a-js/sdk fromCardUrl from major 1`
- Source: [Announcement](https://raw.githubusercontent.com/a2aproject/a2a-js/main/docs/migration-guide.md)
- Page: https://www.okapi.bot/providers/agent2agent-protocol/breaking-changes/a2aclient-fromcardurl-stops-working/

## What to use instead

Create the client with new ClientFactory().createFromUrl(baseUrl) from @a2a-js/sdk/client and call sendMessage on it, with the v1.0 messages (one Part type, no kind field). Or pin @a2a-js/sdk below 1.

## Agent2Agent Protocol's words

> `A2AClient` was deprecated in v0.3 in favor of `ClientFactory` and `Client`
