microsoft/vscode · error · Error
${result.reason}
Error message
${result.reason} What it means
Error "${result.reason}" thrown in microsoft/vscode.
Source
Thrown at extensions/copilot/src/extension/conversation/vscode-node/languageModelAccess.ts:873
if (result.type === ChatFetchResponseType.ExtensionBlocked) {
if (extensionId) {
this._blockedExtensionService.reportBlockedExtension(extensionId, result.retryAfter);
}
throw vscode.LanguageModelError.Blocked(blockedExtensionMessage);
} else if (result.type === ChatFetchResponseType.QuotaExceeded) {
const outageStatus = await this._octoKitService.getGitHubOutageStatus();
const details = getErrorDetailsFromChatFetchError(result, this._authenticationService.copilotToken?.copilotPlan, outageStatus, this._authenticationService.copilotToken?.tokenBasedBilling, this._authenticationService.copilotToken?.quotaInfo.quota_reset_date);
const err = new vscode.LanguageModelError(details.message);
err.name = 'ChatQuotaExceeded';
throw err;
} else if (result.type === ChatFetchResponseType.RateLimited) {
const err = new Error(result.reason);
err.name = 'ChatRateLimited';
throw err;
}
throw new Error(result.reason);
}
this._telemetryService.sendInternalMSFTTelemetryEvent(
'languagemodelrequest',
{
extensionId,
extensionVersion,
requestid: result.requestId,
query: getTextPart(messages[messages.length - 1].content),
model: _endpoint.model
},
{
tokenCount,
tokenLimit
}
);
return result.usage;View on GitHub (pinned to a94b963a32)
When it happens
Trigger: Thrown at extensions/copilot/src/extension/conversation/vscode-node/languageModelAccess.ts:873 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of microsoft/vscode@a94b963a32 (2026-08-12).
Data as JSON: /api/errors/e6a95e6b6d9039af.
Report an issue: GitHub.