Title: Frequent websocket_error: Duplicate item found (fc_call_* replay from session-state) · Issue #3559 · github/copilot-cli · GitHub
Open Graph Title: Frequent websocket_error: Duplicate item found (fc_call_* replay from session-state) · Issue #3559 · github/copilot-cli
X Title: Frequent websocket_error: Duplicate item found (fc_call_* replay from session-state) · Issue #3559 · github/copilot-cli
Description: Summary I am repeatedly hitting this failure in Copilot CLI: Execution failed: CAPIError: 400 {"error":{"code":"bad_request","type":"websocket_error","message":"Duplicate item found with id fc_call_<...>. Remove duplicate items from your...
Open Graph Description: Summary I am repeatedly hitting this failure in Copilot CLI: Execution failed: CAPIError: 400 {"error":{"code":"bad_request","type":"websocket_error","message":"Duplicate item found with id fc_call...
X Description: Summary I am repeatedly hitting this failure in Copilot CLI: Execution failed: CAPIError: 400 {"error":{"code":"bad_request","type":"websocket_error&quo...
Opengraph URL: https://github.com/github/copilot-cli/issues/3559
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Frequent websocket_error: Duplicate item found (fc_call_* replay from session-state)","articleBody":"## Summary\nI am repeatedly hitting this failure in Copilot CLI:\n\n```\nExecution failed: CAPIError: 400 {\"error\":{\"code\":\"bad_request\",\"type\":\"websocket_error\",\"message\":\"Duplicate item found with id fc_call_\u003c...\u003e. Remove duplicate items from your input and try again.\"}}\n```\n\nThis appears to be session-state replay/corruption of prior `fc_call_*` items. Once it starts in a session, subsequent prompts in that same session fail quickly with the same duplicate-id error.\n\n## Frequency (from local `~/.copilot/session-state/*/events.jsonl`)\n- Sessions affected: **10**\n- Duplicate-item error events: **29**\n- Time window observed: **2026-05-28 ~18:46Z to ~19:43Z**\n- Worst session: `3604526b-3b17-4790-b5f5-9d4359783706` with **15** events in ~4.5 minutes\n\nAdditional affected sessions:\n- `893105c9-9726-497f-a54c-c384bd5b51b3` (3)\n- `6257b848-6652-450c-b949-b8d0477d3b56` (2)\n- `63d34bda-bddd-4246-aca5-5258e94d88dd` (2)\n- `ce4e9dd9-bca8-4181-ac70-7c398be8e204` (2)\n- plus 5 more sessions with single occurrences\n\n## Repro pattern\n1. Normal interaction with tool calls.\n2. A turn fails with duplicate `fc_call_*` id.\n3. Retrying in the same session keeps failing with duplicate-id style websocket 400s.\n4. Only workaround is deleting the bad session directory or resetting session-state.\n\n## Impact\nThis happens frequently enough to materially disrupt use; repeated manual session resets are not productive.\n\n## Environment\n- Copilot CLI version: 1.0.54\n- OS: macOS (Darwin)\n\nPlease advise on mitigation and whether a client-side de-dup guard can be added before sending websocket payload items.","author":{"url":"https://github.com/drapetomaniac","@type":"Person","name":"drapetomaniac"},"datePublished":"2026-05-28T19:45:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/3559/copilot-cli/issues/3559"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:554fe273-2a3e-afe8-0e67-12627b612197 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFAC:9E5FA:4FE846:712A9F:6A4E6EF9 |
| html-safe-nonce | 4abd86af787310266774641edc31434c4a319c70d878e74f9f5cf93fbbb69637 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkFDOjlFNUZBOjRGRTg0Njo3MTJBOUY6NkE0RTZFRjkiLCJ2aXNpdG9yX2lkIjoiOTEwNzU2MTU2MTIxNjQxMzQzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cdeafd197d93780254b173c23f1d5496cf866536336d06a7369d9148972fa62f |
| hovercard-subject-tag | issue:4543298117 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/copilot-cli/3559/issue_layout |
| twitter:image | https://opengraph.githubassets.com/176ff9d1ce1c524e5afe73e3b3fcc129773f3e80fd804e39dfeb50616b321209/github/copilot-cli/issues/3559 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/176ff9d1ce1c524e5afe73e3b3fcc129773f3e80fd804e39dfeb50616b321209/github/copilot-cli/issues/3559 |
| og:image:alt | Summary I am repeatedly hitting this failure in Copilot CLI: Execution failed: CAPIError: 400 {"error":{"code":"bad_request","type":"websocket_error","message":"Duplicate item found with id fc_call... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | drapetomaniac |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/github/copilot-cli git https://github.com/github/copilot-cli.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 585860664 |
| octolytics-dimension-repository_nwo | github/copilot-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 585860664 |
| octolytics-dimension-repository_network_root_nwo | github/copilot-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width