Instagram oAuth返回“找不到匹配的代码";在一台服务器上 [英] Instagram oAuth returning "No matching code found" on one server

查看:110
本文介绍了Instagram oAuth返回“找不到匹配的代码";在一台服务器上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在收到

{"code": 400, "error_type": "OAuthException", "error_message": "No matching code found."} 

尝试在我们的一台服务器上获取用户的访问令牌.这是在使用REST Client Chrome扩展程序以及通过我们的Web应用程序在一台特定服务器上发生的.

while attempting to get a user's access token on one of our servers. This is occurring while using the REST Client Chrome extension and from our web application, on one particular server.

我能够使用相同的代码和扩展名从本地计算机和其他服务器接收用户的访问令牌.

I am able to receive the user's access token from my local machine and a different server using the same code and extension.

能否将我们的IP列入接收访问令牌的黑名单?还有其他人遇到这个问题吗?

Could our IP have been blacklisted from receiving access tokens? Has anyone else run into this issue?

谢谢

编辑

从Instagram支持中得知,这是他们的问题,已得到解决.感谢您的帮助.

Heard back from Instagram support, this was an issue on their end and has been fixed. Thanks for the help.

推荐答案

是的,您的直觉是正确的.您可能进行了太多错误的API调用,导致Instagram禁用了您的IP.我本周开始使用Instagram API,但在开始的时候就开始工作,但今天我开始遇到与您相同的错误.该代码还可以在本地或任何其他计算机上正常运行.对此的唯一解释是我的IP被阻止了.只需切换您的IP,您就可以了!

Yes your intuition is correct. It is likely that you made too many incorrect API calls that Instagram disabled your IP. I started dealing with Instagram API this week, at the beginning it was working but today I started getting the same error you got. The code also works fine locally or on any other machine. The only explanation to this is that my IP is blocked. Just switch your IP and you should be fine!

这篇关于Instagram oAuth返回“找不到匹配的代码";在一台服务器上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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