{"msg":"ERROR RequestId:449c19d6-50d6-11eb-a5f7-52540033b35e Result:{\"errCode\":1,\"errMsg\":\"user code exception caught\",\"stackTrace\":\"Error: errCode: 40002 | errMsg: openapi.urlscheme.generate:fail invalid grant_type rid: 5ff6e7a5-07399ea6-3a400eb4\\n at callWXOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:2378:31)\\n at process._tickCallback (internal/process/next_tick.js:68:7)\"}","level":"error","src":"app","requestId":"449c19d6-50d6-11eb-a5f7-52540033b35e","function":"public","timestamp":"1610016677257646"}
openapi.urlscheme.generate:fail invalid grant_type 这个如果是个人认证的小程序测试也会遇到这个问题。
也出现了通用问题
你好,麻烦贴下你的完整代码。