收藏
回答

H5跳小程序接口返回错误?

{"base_resp":{"ret":0},"data":"{\"baseresponse\":{\"errcode\":0,\"stat\":{\"qbase_cost_time\":543,\"func_exec_cost_time\":0}},\"call_id\":\"1610069277083-0.8862643515240467\",\"status\":1,\"service_errcode\":-504002,\"service_errmsg\":\"Error: errCode: 40002  | errMsg: openapi.urlscheme.generate:fail invalid grant_type rid: 5ff7b523-5d97a38b-1a465cbf\\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)\",\"func_request_id\":\"c0384fd0-5150-11eb-835d-52540064cc91\",\"data\":\"\"}"}

回答关注问题邀请回答
收藏

3 个回答

  • 社区技术运营专员-CJiang
    社区技术运营专员-CJiang
    2021-01-08

    你好,是使用以下能力吗?https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/staticstorage/jump-miniprogram.html

    2021-01-08
    有用
    回复 1
    • HMA🐳🐳
      HMA🐳🐳
      2021-04-22
      一样的问题
      2021-04-22
      回复
  • HMA🐳🐳
    HMA🐳🐳
    2021-04-22

    {"base_resp":{"ret":0},"data":"{\"baseresponse\":{\"errcode\":0,\"stat\":{\"qbase_cost_time\":72,\"func_exec_cost_time\":0}},\"call_id\":\"1619077297307-0.4050948885069402\",\"status\":1,\"service_errcode\":-501000,\"service_errmsg\":\"找不到对应的FunctionName.\",\"func_request_id\":\"\",\"data\":\"\"}"}

    2021-04-22
    有用
    回复
  • Thinking80s
    Thinking80s
    2021-01-09

    按照https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/staticstorage/jump-miniprogram.html 方式配置 遇到了同样的问题

    ERROR RequestId:26ad7c1a-522c-11eb-8449-5254008bf868 Result:{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Error: errCode: 40002 | errMsg: openapi.urlscheme.generate:fail invalid grant_type rid: 5ff9253a-66804e46-0dda8256\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)","statusCode":430}

    END RequestId:26ad7c1a-522c-11eb-8449-5254008bf868

    Report RequestId:26ad7c1a-522c-11eb-8449-5254008bf868 Duration:315ms Memory:256MB MemUsage:30.160156MB


    2021-01-09
    有用
    回复
登录 后发表内容
问题标签