简体   繁体   English

查询Google Play Developer API时出现意外错误,请检查您是否使用了正确的服务账号

[英]Unexpected error when querying Google Play Developer API. Please check if you use a correct service account

I am implementing Android Billing client Library V 3.0 .我正在实施Android Billing client Library V 3.0 In Billing Client v 3.0 you have to use backend server for subscription states handling .在 Billing Client v 3.0 中,您必须使用后端服务器来处理订阅状态 For that purpose you have to link your google cloud account with your play console account.为此,您必须将您的谷歌云帐户与您的游戏控制台帐户相关联。 So I have created service account and linked it with Google Play Console.所以我创建了服务帐户并将其与 Google Play 控制台相关联。 I have given the permission of Released Manager.我已获得发布经理的许可。 Now the issue i am facing is that, when google cloud query to play console through cloud function of my firebase server, it says that " Unexpected error when querying Google Play Developer API. Please check if you use a correct service account " and " The current user has insufficient permissions to perform the requested operation " One solution (" https://github.com/android/play-billing-samples/issues/350 ") for this problem was that i have seen on stacker overflow and suggested by google member is that "I have to wait for 24-48 hours after linking service account to play console and granting access."现在我面临的问题是,当谷歌云查询通过我的 firebase 服务器的云 function 播放控制台时,它说“查询 Google Play Developer API 时出现意外错误。请检查您是否使用了正确的服务帐户”和“当前用户没有足够的权限来执行请求的操作“一个解决方案(” https://github.com/android/play-billing-samples/issues/350 “)是我在堆垛机溢出时看到的,建议由谷歌会员是“我必须在连接服务帐户后等待 24-48 小时才能玩控制台并授予访问权限。” I have waited for 4 days but this solution does't worked for me.我已经等了 4 天,但这个解决方案对我不起作用。

I'll be really thank full if someone has the solution related to my problem.如果有人有与我的问题相关的解决方案,我将非常感谢。 Thank you.谢谢你。

#android-studio #billingclient_V3.0 #android #play-blling-library #in-app-billing #android-studio #billingclient_V3.0 #android #play-blling-library #in-app-billing

I forgot to add scope ".../auth/androidpublisher" in Google cloud console.我忘了在谷歌云控制台中添加 scope ".../auth/androidpublisher"。 after adding scope you have to wait for 24 hours and then you can start working with it.添加 scope 后,您必须等待 24 小时,然后才能开始使用它。 After you add scope you should save credentials at the bottom of page.添加 scope 后,您应该在页面底部保存凭据。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google Play 开发者控制台 - 发生意外错误。 请稍后再试 - Google Play Developer Console - An unexpected error occurred. Please try again later Google Play 开发者帐户 - 注册时出错 - Google Play developer account - error upon registration 播放开发者控制台“发生意外错误。请稍后再试。” 添加翻译时 - Play developer console "An unexpected error occurred. Please try again later." when adding translations Google Play 开发者帐号 - Google play developer account AutoComplete Google Places出现错误:未授权该API项目使用此API。 请确保已在API控制台中激活了此API - AutoComplete Google Places get error :This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console 播放开发者控制台“发生意外错误。 请稍后再试。” 在 2017 年尝试打开控制台的任何部分时发生 - Play developer console “An unexpected error occurred. Please try again later.” in 2017 occurs when try to open any section of the console 多个Google Play开发者帐户 - Multiple Google play developer account 错误此API项目未被授权使用此API。 请确保在控制台中激活此API - Error this API project is not authorized to use this API. Please Ensure this API is activated in the Console 使用 firebase 和 google play 服务 api 时,离子应用程序崩溃 - Ionic app crash when use firebase and google play service api Google Play 应用内评论 API。 如何检查用户是否对应用进行了评分? - Google Play In-App Review API. How to check if the user has rated the app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM