AI_APICallError: Forbidden with Github Copilot #1727

Closed
opened 2026-02-16 17:32:22 -05:00 by yindo · 2 comments
Owner

Originally created by @Poukk on GitHub (Sep 15, 2025).

Running opencode run hey --print-logs returns me this:
https://pastebin.com/NppZxP3y

The problem seems exclusive to Github Copilot models. I've tried:

  • Removing cache completely
  • Logout and login again
  • Changing models
Originally created by @Poukk on GitHub (Sep 15, 2025). Running `opencode run hey --print-logs` returns me this: https://pastebin.com/NppZxP3y The problem seems exclusive to Github Copilot models. I've tried: - Removing cache completely - Logout and login again - Changing models
yindo closed this issue 2026-02-16 17:32:22 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 15, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2616: Same "AI_APICallError: Forbidden" error with GitHub Copilot models, author also tried re-auth and cache clearing

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Sep 15, 2025): This issue might be a duplicate of existing issues. Please check: - #2616: Same "AI_APICallError: Forbidden" error with GitHub Copilot models, author also tried re-auth and cache clearing Feel free to ignore if none of these address your specific case.
Author
Owner

@Poukk commented on GitHub (Sep 15, 2025):

It seems like the problem was with Github Copilot, not with Opencode, sorry for the inconvenience.

@Poukk commented on GitHub (Sep 15, 2025): It seems like the problem was with Github Copilot, not with Opencode, sorry for the inconvenience.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1727