【鸿蒙游戏技术分享 第65期】鸿蒙获取玩家返回{"rtnCode":-1,"errMsg":"Query Player Accounts Error."}
关键词鸿蒙游戏服务问题描述服务端获取玩家标识接口https:josopenapi.cloud.huawei.comgameserviceapigbClientApi,method:“external.hms.gs.getPlayerInfo”报错responseBody{"rtnCode":1,"errMsg":"QueryPlayerAccountsError."}问题分析确认accessToken参数是通过获取accessToken的接口获取的,并且clientid参数与工程的entry模块module.json5文件中配置的一致。并且账号注册地、服务地均为中国,服务器也...