{"record":{"id":"70a2253a8fb8d197","repo":"BerriAI/litellm","slug":"generic-userinfo-endpoint-not-set-set-it-in-env","errorCode":null,"errorMessage":"GENERIC_USERINFO_ENDPOINT not set. Set it in .env file","messagePattern":"GENERIC_USERINFO_ENDPOINT not set\\. Set it in \\.env file","errorType":"http","errorClass":"ProxyException","httpStatus":500,"severity":"error","filePath":"litellm/proxy/management_endpoints/ui_sso.py","lineNumber":1315,"sourceCode":"            param=\"GENERIC_CLIENT_SECRET\",\n            code=status.HTTP_500_INTERNAL_SERVER_ERROR,\n        )\n    if generic_authorization_endpoint is None:\n        raise ProxyException(\n            message=\"GENERIC_AUTHORIZATION_ENDPOINT not set. Set it in .env file\",\n            type=ProxyErrorTypes.auth_error,\n            param=\"GENERIC_AUTHORIZATION_ENDPOINT\",\n            code=status.HTTP_500_INTERNAL_SERVER_ERROR,\n        )\n    if generic_token_endpoint is None:\n        raise ProxyException(\n            message=\"GENERIC_TOKEN_ENDPOINT not set. Set it in .env file\",\n            type=ProxyErrorTypes.auth_error,\n            param=\"GENERIC_TOKEN_ENDPOINT\",\n            code=status.HTTP_500_INTERNAL_SERVER_ERROR,\n        )\n    if generic_userinfo_endpoint is None:\n        raise ProxyException(\n            message=\"GENERIC_USERINFO_ENDPOINT not set. Set it in .env file\",\n            type=ProxyErrorTypes.auth_error,\n            param=\"GENERIC_USERINFO_ENDPOINT\",\n            code=status.HTTP_500_INTERNAL_SERVER_ERROR,\n        )\n\n    verbose_proxy_logger.debug(\n        \"authorization_endpoint: %s\\ntoken_endpoint: %s\\nuserinfo_endpoint: %s\",\n        generic_authorization_endpoint,\n        generic_token_endpoint,\n        generic_userinfo_endpoint,\n    )\n    verbose_proxy_logger.debug(\"GENERIC_REDIRECT_URI: %s\\nGENERIC_CLIENT_ID: %s\\n\", redirect_url, generic_client_id)\n\n    return (\n        generic_client_secret,\n        generic_scope,\n        generic_authorization_endpoint,","sourceCodeStart":1297,"sourceCodeEnd":1333,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/proxy/management_endpoints/ui_sso.py#L1297-L1333","documentation":"Error \"GENERIC_USERINFO_ENDPOINT not set. Set it in .env file\" thrown in BerriAI/litellm.","triggerScenarios":"Thrown at litellm/proxy/management_endpoints/ui_sso.py:1315 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set GENERIC_USERINFO_ENDPOINT in the .env file and restart the proxy."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}