Skip to content

413 Request Entity Too Large #965

Description

Describe the bug

Hello,
I was building a simple CV page using copilot-cli and got this error few times.

✘ Model call failed: "413 413 Request Entity Too Large\n" (Request ID: 2819:3BE38A:5FAFA1:6A5EBE:6967C340)

Image

Affected version

0.0.362 Commit: 0c95944

Steps to reproduce the behavior

  1. Take a screenshot - full window on Macbook M3
  2. Image should have at least 1.3 MB
  3. Paste it into chat (one is enough)
  4. Send a message that will have to use the image for reasoning such fix some UI issues

Expected behavior

1.Screenshot in chat (larger than 1.3MB)
2.Message refers to image and use it for reasoning
3.Chat goes normally without issues

Additional context

Error Logs

From ~/.copilot/logs/session-f5e99ddf-05aa-46db-8183-9438c1a94123.log:

  2026-01-14T16:25:11.342Z [INFO] post https://api.individual.githubcopilot.com/chat/completions failed with status 413 in 37069ms - error; not retryable
  2026-01-14T16:25:11.359Z [ERROR] error (Request-ID 2819:3BE38A:5FAFA1:6A5EBE:6967C340)
  2026-01-14T16:25:11.359Z [ERROR] {
    "status": 413,
    "name": "CAPIError",
    "message": "413 413 Request Entity Too Large\n"
  }

  2026-01-14T16:32:03.634Z [INFO] post https://api.individual.githubcopilot.com/chat/completions failed with status 413 in 8085ms - error; not retryable
  2026-01-14T16:32:03.651Z [ERROR] error (Request-ID 2270:255483:62715D:6E0D41:6967C4FA)
  2026-01-14T16:32:03.651Z [ERROR] {
    "status": 413,
    "name": "CAPIError",
    "message": "413 413 Request Entity Too Large\n"
  }


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions