Skip to content

OAuth2AuthExchangeError: Client ID doesn't match original request #2

@quinncnl

Description

@quinncnl

Hello,

I encountered this problem with the following traces:

127.0.0.1 - - [10/Jan/2016 11:16:19] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [10/Jan/2016 11:16:26] "GET /?code=b689e0dc8edb476ea1f5668bac3a5a31 HTTP/1.1" 500 -
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/flask/app.py", line 1836, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Library/Python/2.7/site-packages/flask/app.py", line 1820, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/Library/Python/2.7/site-packages/flask/app.py", line 1403, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/Library/Python/2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/Library/Python/2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Library/Python/2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Library/Python/2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Library/Python/2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Users/clear/Dropbox/dev/instagram-backup-master/get_token.py", line 33, in homepage
    instagram.exchange_code_for_access_token(code)
  File "/Library/Python/2.7/site-packages/instagram/oauth2.py", line 48, in exchange_code_for_access_token
    return req.exchange_for_access_token(code=code)
  File "/Library/Python/2.7/site-packages/instagram/oauth2.py", line 115, in exchange_for_access_token
    raise OAuth2AuthExchangeError(parsed_content.get("error_message", ""))
OAuth2AuthExchangeError: Client ID doesn't match original request

Any ideas on how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions