diegosouzapw/OmniRoute · error
Device authorization response missing verification_uri_compl
Error message
Device authorization response missing verification_uri_complete
What it means
Error "Device authorization response missing verification_uri_complete" thrown in diegosouzapw/OmniRoute.
Source
Thrown at src/lib/oauth/providers/kimi-coding.ts:79
requestDeviceCode: async (config) => {
const response = await fetch(config.deviceCodeUrl, {
method: "POST",
headers: getKimiOAuthHeaders(),
body: new URLSearchParams({
client_id: config.clientId,
}),
});
if (!response.ok) {
const error = await response.text();
throw new Error(`Device code request failed: ${error}`);
}
const data = await response.json();
if (!data?.device_code) throw new Error("Device authorization response missing device_code");
if (!data?.user_code) throw new Error("Device authorization response missing user_code");
if (!data?.verification_uri_complete) {
throw new Error("Device authorization response missing verification_uri_complete");
}
return {
device_code: data.device_code,
user_code: data.user_code,
verification_uri: data.verification_uri || "",
verification_uri_complete: data.verification_uri_complete,
expires_in: data.expires_in,
interval: data.interval || 5,
};
},
pollToken: async (config, deviceCode) => {
const response = await fetch(config.tokenUrl, {
method: "POST",
headers: getKimiOAuthHeaders(),
body: new URLSearchParams({
client_id: config.clientId,
device_code: deviceCode,
grant_type: "urn:ietf:params:oauth:grant-type:device_code",View on GitHub (pinned to a179ffed5b)
When it happens
Trigger: Thrown at src/lib/oauth/providers/kimi-coding.ts:79 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/3de0d7b15c281188.
Report an issue: GitHub.