{"record":{"id":"4e600fe2276ed01a","repo":"hpyhacking/peatio","slug":"missing-required-parameter-in-state","errorCode":null,"errorMessage":"Missing required parameter '{}' in state '{}'","messagePattern":"Missing required parameter '(.+?)' in state '(.+?)'","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"app/assets/javascripts/lib/angular-ui-router.js","lineNumber":1835,"sourceCode":"\n      forEach(isDefined(state.views) ? state.views : { '': state }, function (view, name) {\n        if (name.indexOf('@') < 0) name += '@' + state.parent.name;\n        views[name] = view;\n      });\n      return views;\n    },\n\n    ownParams: function(state) {\n      state.params = state.params || {};\n\n      if (!state.parent) {\n          return objectKeys(state.params);\n      }\n      var paramNames = {}; forEach(state.params, function (v, k) { paramNames[k] = true; });\n\n      forEach(state.parent.params, function (v, k) {\n        if (!paramNames[k]) {\n          throw new Error(\"Missing required parameter '\" + k + \"' in state '\" + state.name + \"'\");\n        }\n        paramNames[k] = false;\n      });\n      var ownParams = [];\n\n      forEach(paramNames, function (own, p) {\n        if (own) ownParams.push(p);\n      });\n      return ownParams;\n    },\n\n    // Keep a full path from the root down to this state as this is needed for state activation.\n    path: function(state) {\n      return state.parent ? state.parent.path.concat(state) : []; // exclude root from path\n    },\n\n    // Speed up $state.contains() as it's used a lot\n    includes: function(state) {","sourceCodeStart":1817,"sourceCodeEnd":1853,"githubUrl":"https://github.com/hpyhacking/peatio/blob/dab8641137c008928c835409342519bfef4eae7f/app/assets/javascripts/lib/angular-ui-router.js#L1817-L1853","documentation":"Error \"Missing required parameter '{}' in state '{}'\" thrown in hpyhacking/peatio.","triggerScenarios":"Thrown at app/assets/javascripts/lib/angular-ui-router.js:1835 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide a value for every required URL parameter when transitioning, e.g. $state.go('state', {id: 1}), or mark the parameter optional in the state definition."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"dab8641137c008928c835409342519bfef4eae7f","analyzedAt":"2026-08-23T09:59:18.005Z","schemaVersion":2},"datasetVersion":"2026-08-23T13:39:53.451Z"}