收藏
回答

创建开放平台帐号并绑定公众号 一直报错 errcode 48001?

报错信息,麻烦帮忙看一下

{

    "errcode": 48001,

    "errmsg": "api unauthorized rid: 635a4829-775e3dbd-1c6fc195"

}  

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

1 个回答

  • 第三方平台小助手
    第三方平台小助手
    2022-10-27

    你好,经查证,该账号wx8c71add0d114e4f9尚未授予[24] 开放平台帐号管理 权限集 给第三方平台wx02a1af53c58c27a0,请完成授权后再调用此接口。另外,调用该接口https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/authorization-management/getAuthorizerInfo.html进行查询小程序/公众号授予第三方的权限集列表。以及,后续遇到接口类问题可先根据https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/troubleshooting/TroubleShooting.html自行排查下~

    2022-10-27
    有用
    回复 6
    • 李飞
      李飞
      2022-10-28
      你好,已经调用获取授权账号详情接口(https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/authorization-management/getAuthorizerInfo.html)查询过了,能获取到授权信息,但还是报48001
      授权信息:
      [2022-10-27 16:58:17] local.INFO: getAuthorizer: 
      {
          "authorizer_info": {
              "nick_name": "辽阳恒利物业",
              "head_img": "http://wx.qlogo.cn/mmopen/Xewa2JUmZ1qUUz73k574T08E1qbLJoou1lhr7SRhgxxph099hy4Y9YbQAFQ94ibFc97SLKe91gnHB1NwCBwUviaR9QyXwFGUgJ/0",
              "service_type_info": {
                  "id": 2
              },
              "verify_type_info": {
                  "id": 0
              },
              "user_name": "gh_e4ab36a62454",
              "alias": "lyhengli",
              "qrcode_url": "http://mmbiz.qpic.cn/mmbiz_jpg/6hQE586TDU7kKXnMnk0HQv6nO2oDKrqzscIibeu6VJGicVo0pNu4eYTt4kN4nOia27bRY40ymwUNF24oPWUKfQMnQ/0",
              "business_info": {
                  "open_pay": 0,
                  "open_shake": 0,
                  "open_scan": 0,
                  "open_card": 0,
                  "open_store": 0
              },
              "idc": 1,
              "principal_name": "辽阳恒利物业管理有限公司",
              "signature": "物业信息服务",
              "account_status": 1
          },
          "authorization_info": {
              "authorizer_appid": "wx8c71add0d114e4f9",
              "authorizer_refresh_token": "refreshtoken@@@C1liSOfQcEnjdcLPS66bSw_M-k9cMqkd3_NaUhyODwg",
              "func_info": [
                  {
                      "funcscope_category": {
                          "id": 1
                      },
                      "confirm_info": {
                          "need_confirm": 1,
                          "already_confirm": 0,
                          "can_confirm": 1
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 2
                      },
                      "confirm_info": {
                          "need_confirm": 1,
                          "already_confirm": 0,
                          "can_confirm": 1
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 3
                      },
                      "confirm_info": {
                          "need_confirm": 0,
                          "already_confirm": 0,
                          "can_confirm": 0
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 4
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 5
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 6
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 7
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 8
                      },
                      "confirm_info": {
                          "need_confirm": 1,
                          "already_confirm": 0,
                          "can_confirm": 0
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 9
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 10
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 11
                      },
                      "confirm_info": {
                          "need_confirm": 1,
                          "already_confirm": 0,
                          "can_confirm": 1
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 12
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 13
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 15
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 22
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 23
                      },
                      "confirm_info": {
                          "need_confirm": 0,
                          "already_confirm": 0,
                          "can_confirm": 0
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 26
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 27
                      },
                      "confirm_info": {
                          "need_confirm": 0,
                          "already_confirm": 0,
                          "can_confirm": 0
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 33
                      },
                      "confirm_info": {
                          "need_confirm": 0,
                          "already_confirm": 0,
                          "can_confirm": 0
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 34
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 35
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 44
                      },
                      "confirm_info": {
                          "need_confirm": 0,
                          "already_confirm": 0,
                          "can_confirm": 0
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 46
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 47
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 54
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 66
                      }
                  }
              ]
          }
      }  
      [2022-10-27 16:58:17] local.INFO: create open_appid: 
      {
          "errcode": 48001,
          "errmsg": "api unauthorized rid: 635a4829-775e3dbd-1c6fc195"
      }
      2022-10-28
      回复
    • 第三方平台小助手
      第三方平台小助手
      2022-10-28回复李飞
      请参考指引排查,授权【24】权限集后再调用接口。https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/troubleshooting/third_party_authority_instructions_troubleshooting.html
      2022-10-28
      回复
    • 李飞
      李飞
      2022-10-28
      同样的流程,我换了个公众号,授权就正常
      授权信息:
      [2022-10-28 09:57:59] local.INFO: getAuthorizer: 
      {
          "authorizer_info": {
              "nick_name": "安电物联",
              "head_img": "http://wx.qlogo.cn/mmopen/wNo943MiaCkEz7Yyem7UEaONY5SCRbRs9zF3IYbVnnibzI0ic04K2WQbaWE5F3Mxp0HVJ3kv6s1icwSR9XsRcQGyDzF0ib2kFUx8G/0",
              "service_type_info": {
                  "id": 2
              },
              "verify_type_info": {
                  "id": 0
              },
              "user_name": "gh_7e9c3577cfe1",
              "alias": "",
              "qrcode_url": "http://mmbiz.qpic.cn/sz_mmbiz_jpg/SyzEyOXPGC3EQDZvyBA5bntMmYBeNk0Aibe2enLSB0Q8rGJGcKtqNJgTBicN13B7yjPTGnsh2LU54nsOwISHJRMQ/0",
              "business_info": {
                  "open_pay": 0,
                  "open_shake": 0,
                  "open_scan": 0,
                  "open_card": 0,
                  "open_store": 0
              },
              "idc": 1,
              "principal_name": "海南安电物业管理有限公司",
              "signature": "物业管理、小区综合服务、代收代缴水电费",
              "account_status": 1
          },
          "authorization_info": {
              "authorizer_appid": "wx6aa5a3c73ba56dfd",
              "authorizer_refresh_token": "refreshtoken@@@wBbaWmkNBUshD1LPXkCmzu43MVfrG-7GnsD1Y0mEO0Y",
              "func_info": [
                  {
                      "funcscope_category": {
                          "id": 1
                      },
                      "confirm_info": {
                          "need_confirm": 1,
                          "already_confirm": 0,
                          "can_confirm": 1
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 2
                      },
                      "confirm_info": {
                          "need_confirm": 1,
                          "already_confirm": 0,
                          "can_confirm": 1
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 3
                      },
                      "confirm_info": {
                          "need_confirm": 0,
                          "already_confirm": 0,
                          "can_confirm": 0
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 4
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 5
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 6
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 7
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 8
                      },
                      "confirm_info": {
                          "need_confirm": 1,
                          "already_confirm": 0,
                          "can_confirm": 0
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 9
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 10
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 11
                      },
                      "confirm_info": {
                          "need_confirm": 1,
                          "already_confirm": 0,
                          "can_confirm": 1
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 12
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 13
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 15
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 22
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 23
                      },
                      "confirm_info": {
                          "need_confirm": 0,
                          "already_confirm": 0,
                          "can_confirm": 0
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 24
                      },
                      "confirm_info": {
                          "need_confirm": 0,
                          "already_confirm": 0,
                          "can_confirm": 0
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 26
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 27
                      },
                      "confirm_info": {
                          "need_confirm": 0,
                          "already_confirm": 0,
                          "can_confirm": 0
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 33
                      },
                      "confirm_info": {
                          "need_confirm": 0,
                          "already_confirm": 0,
                          "can_confirm": 0
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 34
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 35
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 44
                      },
                      "confirm_info": {
                          "need_confirm": 0,
                          "already_confirm": 0,
                          "can_confirm": 0
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 46
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 47
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 54
                      }
                  },
                  {
                      "funcscope_category": {
                          "id": 66
                      }
                  }
              ]
          }
      }  
      [2022-10-28 09:58:02] local.INFO: create open_appid: 
      {
          "open_appid": "wx7b0dcaad085c1bae",
          "errcode": 0,
          "errmsg": "ok"
      }
      2022-10-28
      回复
    • 李飞
      李飞
      2022-10-28
      麻烦给查下什么原因,比较着急
      2022-10-28
      回复
    • 第三方平台小助手
      第三方平台小助手
      2022-10-28回复李飞
      2022-10-28
      回复
    查看更多(1)
登录 后发表内容