b'{"errcode":48001,"errmsg":"api unauthorized rid: 69f1b44c-37ac834f-1e400224"}'
access_token_res = self.get_access_token(app_id, app_secret)
access_token = access_token_res.data['access_token']
url = f'https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token={access_token}'
post_body = {
'scene': '',
'path': to_string(page_path),
'width': w,
'env_version': env_version,
}
response = requests.post(url, data=json.dumps(post_body), timeout=3)
response_status = response.status_code
response_content = response.content

这个调用的appid 是公众号的
个人账号的小程序都不报48001。昨天是小程序,今天就变成非小程序了?