{"record":{"id":"47c5722ea315332d","repo":"Semantic-Org/Semantic-UI","slug":"the-tab-you-specified-is-missing-a-content-url","errorCode":null,"errorMessage":"The tab you specified is missing a content url.","messagePattern":"The tab you specified is missing a content url\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/definitions/modules/tab.js","lineNumber":926,"sourceCode":"  ignoreFirstLoad : false,      // don't load remote content on first load\n\n  apiSettings     : false,      // settings for api call\n  evaluateScripts : 'once',     // whether inline scripts should be parsed (true/false/once). Once will not re-evaluate on cached content\n\n  onFirstLoad : function(tabPath, parameterArray, historyEvent) {}, // called first time loaded\n  onLoad      : function(tabPath, parameterArray, historyEvent) {}, // called on every load\n  onVisible   : function(tabPath, parameterArray, historyEvent) {}, // called every time tab visible\n  onRequest   : function(tabPath, parameterArray, historyEvent) {}, // called ever time a tab beings loading remote content\n\n  templates : {\n    determineTitle: function(tabArray) {} // returns page title for path\n  },\n\n  error: {\n    api        : 'You attempted to load content without API module',\n    method     : 'The method you called is not defined',\n    missingTab : 'Activated tab cannot be found. Tabs are case-sensitive.',\n    noContent  : 'The tab you specified is missing a content url.',\n    path       : 'History enabled, but no path was specified',\n    recursion  : 'Max recursive depth reached',\n    legacyInit : 'onTabInit has been renamed to onFirstLoad in 2.0, please adjust your code.',\n    legacyLoad : 'onTabLoad has been renamed to onLoad in 2.0. Please adjust your code',\n    state      : 'History requires Asual\\'s Address library <https://github.com/asual/jquery-address>'\n  },\n\n  metadata : {\n    tab    : 'tab',\n    loaded : 'loaded',\n    promise: 'promise'\n  },\n\n  className   : {\n    loading : 'loading',\n    active  : 'active'\n  },\n","sourceCodeStart":908,"sourceCodeEnd":944,"githubUrl":"https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/tab.js#L908-L944","documentation":"Semantic UI Tab error defined at tab.js:926 indicating the activated tab has no content url configured. The tab module needs either an in-DOM pane to show, or a remote content url (via data-url, path, or apiSettings) to load; if neither is present, the message warns the developer.","triggerScenarios":"Configuring a tab for remote loading (path contains a '/' so it splits into parent/child, or apiSettings.url is set) but the resolved content url is empty/undefined; the data-tab path points to a remote resource without a corresponding url.","commonSituations":"Forgetting to set apiSettings.url or data-url for a remote tab; misconfigured autoRoutes; mixing local tab paths with remote expectations; partial copy-paste of a remote-tab example.","solutions":["Provide a content url via apiSettings.url or a data-url attribute on the tab element.","If the tab is meant to be local, ensure a DOM pane with the matching data-tab exists so remote loading is not attempted.","Confirm the path resolution in evaluateScripts/auto settings yields a non-empty content url."],"exampleFix":"// before\n$('.menu .item').tab({ apiSettings: {} }); // no url\n// after\n$('.menu .item').tab({ apiSettings: { url: '/tabs/profile.html' } });","handlingStrategy":"validation","validationCode":"function tabHasContent(navEl) {\n  var path = navEl.getAttribute('data-tab');\n  var hasPane = !!document.querySelector('[data-tab=\"' + path + '\"]');\n  var hasUrl = !!navEl.getAttribute('data-url') || !!(tabSettings && tabSettings.apiSettings && tabSettings.apiSettings.url);\n  return hasPane || hasUrl;\n}","typeGuard":"function isRemoteTabConfigured(settings) {\n  return !!(settings && settings.apiSettings && typeof settings.apiSettings.url === 'string' && settings.apiSettings.url.length > 0);\n}","tryCatchPattern":null,"preventionTips":["Set apiSettings.url (or data-url) for every remote tab.","Provide a local pane when remote loading is not intended.","Audit tab configs for empty/undefined content urls."],"tags":["semantic-ui","tab","missing-content-url","configuration"],"backgroundTag":null,"analyzedSha":"597843ab84d565cccfd8fd7719416350ae73e734","analyzedAt":"2026-08-13T01:44:23.827Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}