{"record":{"id":"b272bbe14a5af4a1","repo":"iflytek/astron-agent","slug":"oncustomsignparam-getquery-is-not-a-object","errorCode":null,"errorMessage":"onCustomSignParam.getQuery is not a object","messagePattern":"onCustomSignParam\\.getQuery is not a object","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"console/frontend/src/utils/avatar-sdk-web_3.1.2.1002/xrtc-player-BJTnVhG9.js","lineNumber":12944,"sourceCode":"                  '[object Object]' !== Object.prototype.toString.call(r))\n                ) {\n                  t.next = 14;\n                  break;\n                }\n                for (n = '', o = 0, s = Object.entries(r); o < s.length; o++)\n                  ((a = C(s[o], 2)),\n                    (c = a[1]),\n                    (n += '&'.concat(a[0], '=').concat(c)));\n                return t.abrupt('return', n.slice(1));\n              case 14:\n                throw new Error(\n                  'onCustomSignParam.getQuery result is not an object'\n                );\n              case 15:\n                t.next = 18;\n                break;\n              case 17:\n                throw new Error('onCustomSignParam.getQuery is not a object');\n              case 18:\n                t.next = 21;\n                break;\n              case 20:\n                return t.abrupt('return', '');\n              case 21:\n              case 'end':\n                return t.stop();\n            }\n        }, t);\n      })\n    )();\n  },\n  baseUrl: function (e) {\n    return e.includes('https://') || e.includes('http://')\n      ? e\n      : ''.concat(this.ssl ? 'https://' : 'http://').concat(e);\n  },","sourceCodeStart":12926,"sourceCodeEnd":12962,"githubUrl":"https://github.com/iflytek/astron-agent/blob/5e758547a83371a5a4b29dadf4ac03e8dd527635/console/frontend/src/utils/avatar-sdk-web_3.1.2.1002/xrtc-player-BJTnVhG9.js#L12926-L12962","documentation":"Second getQuery error variant: thrown when the getQuery field itself is not an object (earlier type check fails, e.g. missing or wrong type on onCustomSignParam). Same query-parameter contract violation during avatar authentication.","triggerScenarios":"Thrown at console/frontend/src/utils/avatar-sdk-web_3.1.2.1002/xrtc-player-BJTnVhG9.js:12944 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure onCustomSignParam.getQuery exists and is a plain object","Default to {} when no custom query is needed","Type-check the sign param configuration at startup"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5e758547a83371a5a4b29dadf4ac03e8dd527635","analyzedAt":"2026-09-12T08:03:51.356Z","contentChangedAt":"2026-09-12T08:03:51.356Z","schemaVersion":2},"datasetVersion":"2026-09-19T12:17:13.211Z"}