Instagram oAuth returning “No matching code found” on one server

后端 未结 3 1986
忘掉有多难
忘掉有多难 2020-12-19 02:38

I\'m currently receiving

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

while attemp

相关标签:
3条回答
  • 2020-12-19 03:02

    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!

    0 讨论(0)
  • 2020-12-19 03:07

    I was having the same trouble: users couldn't authenticate through Instagram and the error returned was "OAuthException" and "No matching code found." Started on 4/28/15 but didn't catch until two days later. Only in production, not staging, so it was almost certainly IP.

    I posted to the Instagram developer help center (https://help.instagram.com/contact/438525166257277) yesterday at 7pm and the problem was fixed by this morning, with a cryptic email from their support at 11am ("The issue has been resolved").

    0 讨论(0)
  • 2020-12-19 03:18

    SOLVED: The reason for this error is the ip address from which you are trying to connect to Instagram and get access_token. After contacting my network provider and changing my ip everything got fixed.

    To figure out if your issue is caused by your local ip (not the server ip) try to connect to your app via mobile network or any other network different from yours: - If it works you need to change your local ip. -If it does not work - change your server ip cause it is probably banned by instagram for lots of malicious requests.

    0 讨论(0)
提交回复
热议问题