使用代码获取刷新令牌时会出现Internal_failure吗? [英] Internal_failure while getting refreshtoken using code?

查看:75
本文介绍了使用代码获取刷新令牌时会出现Internal_failure吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在交换代码以获取刷新令牌时收到 internal_failure 错误消息。对于所有帐户,并非始终都会发生此错误。仅在使用几个Google帐户进行身份验证时才会发生这种情况,无论client_id是什么,每10个身份验证请求都将发生5至6个失败。我们有一个测试帐户,并且在该帐户中的复制频率也很高。

We are getting internal_failure error message while exchanging code to get refresh token. This error doesn't occur all the time for all the accounts. This happens only while authenticating with a few Google accounts and that too like 5 to 6 failures for every 10 authentication requests no matter what the client_id is. We have a test account and is reproducible too frequently in this account as well.

{
error: internal_failure
}

推荐答案

您多久发出一次这些请求?您可能会遇到每个帐户的配额限制。
在现实生活中,任何帐户都不会做很多代码来刷新令牌转换。期望您只对每个应用程序执行一次。
因此,如果您拥有测试/监视帐户,则它们将遇到这些问题。最好的办法是让您仅监视和测试您的站点/代码。

How often are you making these requests? You are probably running into the per account quota limits. In real life, any account would not be doing a lot of code to refresh token conversion. The expectation is that you do that just once per application. So, if you have test/monitoring accounts, they will run into these issues. The best is for you to monitor and test only your site/code.

这篇关于使用代码获取刷新令牌时会出现Internal_failure吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆