microsoft / microsoft/vscode

MAI Code 1 returns: CAPIError: 400 The file type you uploaded is not supported. Please try again with a pdf

Open
#324,450 0 comments 0 reactions 1 assignee Claimed by @eleanorjboyd View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Version: 1.128.0-insider (Universal)
Commit: 86df0e5dc86a78298b5ffce1c6f6793ad79c3e93
Date: 2026-07-06T05:12:47Z

- VS Code window, switch to Copilot AH, select MAI Code-1-Flash and make a 'Hello' call. No attachments
```
Sorry, your request failed. Please try again.

Client Request Id: FC1C:90013:6A365B3:7BF44E6:6A4B6BEE

GH Request Id: cbe0a9fe-876a-49f7-8e2f-77aeed2d929c

Reason: Execution failed: CAPIError: 400 The file type you uploaded is not supported. Please try again with a pdf (Request ID: FC1C:90013:6A365B3:7BF44E6:6A4B6BEE)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.