星海扬帆
星海扬帆
  • 发布:2023-06-06 09:17
  • 更新:2023-06-06 10:07
  • 阅读:262

旧版本uni-id更新了么?老版本的uniID.getUserInfoByToken报30204错误,函数内使用JQL报错

分类:uniCloud

上一年的项目,今天用户那边突然报错,求指导:
{ code: 30204,
err: { JsonWebTokenError: invalid signature
at /tmp/function/@common_modules/uni-id/index.js:2458:24
at c (/tmp/function/@common_modules/uni-id/index.js:2442:14)
at Pr (/tmp/function/@common_modules/uni-id/index.js:2444:12)
at dn._verifyToken (/tmp/function/@common_modules/uni-id/index.js:5350:11)
at dn.getUserInfoByToken (/tmp/function/@common_modules/uni-id/index.js:2900:20)
at dn.<anonymous> (/tmp/function/@common_modules/uni-id/index.js:5749:23)
at Object.exports.main (/tmp/function/__index.js:24:24)
at Q (/tmp/function/index.js:1:24007)
at <anonymous> name: 'JsonWebTokenError', message: 'invalid signature' },
errCode: 'uni-id-check-token-failed',
errMsg: 'token校验未通过',
msg: 'token校验未通过',
message: 'token校验未通过' }

uni-id版本:3.3.28

2023-06-06 09:17 负责人:无 分享
已邀请:
星海扬帆

星海扬帆 (作者) - 星帆云海

已解决,我定位时进入了一个token错误的环境,用户的报错原因是函数超时问题

要回复问题请先登录注册