Skip to main content
Watch: I Built an AI App Without Leaving Databricks

GitHub Copilot CLI error

Copilot CLI: CAPIError: 400 ... Duplicate item found with id

Error message
Execution failed: CAPIError: 400 {"error":{"code":"bad_request","type":"websocket_error","message":"Duplicate item found with id fc_call_ikBrgmi06fcJeO6uIpJJEQbJ. Remove duplicate items from your input and try again."}}

Status: OpenLast verified 0 documented fixes2 sources

What it means

On the turn after a tool or function call, the API rejected the request because the same function-call item ID appeared twice in the input.

Causes

  • The reporter said it fails "only ... on the turn after a tool/function call" and suspected a server-side regression. No maintainer has confirmed a cause.

How to fix it

No fix or workaround is documented yet. Follow the linked issues under Sources for updates.

More Copilot CLI errors

All 12 Copilot CLI errors

FAQ

What does "CAPIError: 400 ... Duplicate item found with id" mean in Copilot CLI?

On the turn after a tool or function call, the API rejected the request because the same function-call item ID appeared twice in the input.

How do I fix "CAPIError: 400 ... Duplicate item found with id"?

No fix is documented yet. The reporter said it fails "only ... on the turn after a tool/function call" and suspected a server-side regression. No maintainer has confirmed a cause.

Is this Copilot CLI error fixed?

Status: Open. Still open upstream. Any documented fixes are workarounds so far. Affected versions: Reported on 1.0.54 and 1.0.55 (May 2026). Still reported in later comments.

Sources

Last verified against 2 sources: official docs, maintainer replies and release notes.

Newsletter

Fixes for the tools you use, weekly

One email per week. New coding agent releases, what broke, and how developers are working around it.