[Error] [GitHub.copilot-chat] unhandlederror-Failed with status 400 and body: {"code":"invalid_argument","msg":"source too short (...
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
## Error Message
````
unhandlederror-Failed with status 400 and body: {"code":"invalid_argument","msg":"source too short (must be at least 110 tokens, but is 105)","meta":{"argument":"source"}}
````
## Stack Trace
at jfe.fetch (../src/platform/snippy/common/snippyFetcher.ts:71:9)
at processTicksAndRejections (node::104:5) [not deminified]
at Gfe.handlePostInsertion (../src/platform/snippy/common/snippyServiceImpl.ts:41:19)
Raw Stack Trace (minified)
````
Error: Failed with status 400 and body: {"code":"invalid_argument","msg":"source too short (must be at least 110 tokens, but is 105)","meta":{"argument":"source"}} at jfe.fetch ( VS /resources\app\extensions\copilot\dist\extension.js:6814:2691) at processTicksAndRejections (node::104:5) at Gfe.handlePostInsertion ( VS /resources\app\extensions\copilot\dist\extension.js:6814:4193)
````
## Details
| Property | Value |
| --- | --- |
| Bucket ID | [`09b1e4b4-3f59-167d-f007-45b1ed365779`](https://errors.code.visualstudio.com/bucket/09b1e4b4-3f59-167d-f007-45b1ed365779?product=VSCode&extension=GitHub.copilot-chat&commit=110a328ea54b42367b803ec53ee0bf52ef26b419) |
| Extension Version | 0.61.0 |
| Last Seen | Wed Aug 19 2026 23:57:08 GMT+0000 (Coordinated Universal Time) |
| Platforms | win32 |
| Product | VSCode |
---
*This issue was automatically created from the VS Code Errors Dashboard*
Contributor guide
Assessment
This issue has not been assessed yet.