{"record":{"id":"95d4b52908ff0813","repo":"Kong/insomnia","slug":"code-verifier-not-set","errorCode":null,"errorMessage":"Code verifier not set","messagePattern":"Code verifier not set","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/insomnia/src/main/mcp/oauth-client-provider.ts","lineNumber":206,"sourceCode":"    if (error) {\n      throw new Error(JSON.stringify({ error, error_description, error_uri }));\n    } else if (!authorizationCode) {\n      throw new Error('Authorization code not found');\n    }\n    await this._redirectEndListener?.(authorizationCode);\n  }\n  onRedirectEnd(listener: (authorizationCode: string) => void) {\n    this._redirectEndListener = listener;\n    return () => {\n      this._redirectEndListener = null;\n    };\n  }\n  async saveCodeVerifier(codeVerifier: string) {\n    this._codeVerifier = codeVerifier;\n  }\n  async codeVerifier() {\n    if (!this._codeVerifier) {\n      throw new Error('Code verifier not set');\n    }\n    return this._codeVerifier;\n  }\n}\n","sourceCodeStart":188,"sourceCodeEnd":211,"githubUrl":"https://github.com/Kong/insomnia/blob/d9bb2b0142600f21309832daea3317942d285984/packages/insomnia/src/main/mcp/oauth-client-provider.ts#L188-L211","documentation":"Error \"Code verifier not set\" thrown in Kong/insomnia.","triggerScenarios":"Thrown at packages/insomnia/src/main/mcp/oauth-client-provider.ts:206 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d9bb2b0142600f21309832daea3317942d285984","analyzedAt":"2026-08-26T18:04:05.187Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}