{"record":{"id":"fabe7c54428869b6","repo":"meteor/meteor","slug":"service-not-configured-fabe7c","errorCode":null,"errorMessage":"Service not configured","messagePattern":"Service not configured","errorType":"exception","errorClass":"ServiceConfiguration.ConfigError","httpStatus":null,"severity":"error","filePath":"packages/github-oauth/github_server.js","lineNumber":35,"sourceCode":"      company: identity.company,\n      blog: identity.blog,\n      location: identity.location,\n      bio: identity.bio,\n      emails\n    },\n    options: { profile: { name: identity.name } }\n  };\n});\n\n// http://developer.github.com/v3/#user-agent-required\nlet userAgent = 'Meteor';\nif (Meteor.release) userAgent += `/${Meteor.release}`;\n\nconst getAccessToken = async (query) => {\n  const config = await ServiceConfiguration.configurations.findOneAsync({\n    service: 'github'\n  });\n  if (!config) throw new ServiceConfiguration.ConfigError();\n\n  let response;\n  try {\n    const content = new URLSearchParams({\n      client_id: config.clientId,\n      client_secret: config.secret,\n      code: query.code,\n      redirect_uri: OAuth._redirectUri(\n        'github',\n        config\n      )\n    });\n    const request = await OAuth._fetch(\n      `https://github.com/login/oauth/access_token?${content.toString()}`,\n      'POST',\n      {\n        headers: {\n          Accept: 'application/json',","sourceCodeStart":17,"sourceCodeEnd":53,"githubUrl":"https://github.com/meteor/meteor/blob/5076d2f818d3cac01d0cf8312fa5b2332076a4fb/packages/github-oauth/github_server.js#L17-L53","documentation":"Error \"Service not configured\" thrown in meteor/meteor.","triggerScenarios":"Thrown when GitHub login is attempted but the service is not configured.","commonSituations":"Missing GitHub clientId/secret in ServiceConfiguration when handling the OAuth callback.","solutions":["Configure the GitHub login service with clientId and secret in serviceConfiguration or Meteor.settings.","Run 'meteor add accounts-github' and complete the configuration."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5076d2f818d3cac01d0cf8312fa5b2332076a4fb","analyzedAt":"2026-08-13T03:27:40.142Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}