Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

IGResponseError on Login #9

Open
kumitterer opened this issue Mar 31, 2021 · 1 comment
Open

IGResponseError on Login #9

kumitterer opened this issue Mar 31, 2021 · 1 comment

Comments

@kumitterer
Copy link

Hi,

I have set up the bridge according to the setup guide and am now trying to login to my account. I have actually tried multiple accounts, some with 2FA, some without, but I just keep getting the following error in my logs:

[2021-03-31 14:35:25,694] [ERROR@mau.commands] Failed to log in
Traceback (most recent call last):
  File "/opt/mautrix-instagram/lib/python3.9/site-packages/mautrix_instagram/commands/auth.py", line 68, in login
    resp = await api.login(username, password)
  File "/opt/mautrix-instagram/lib/python3.9/site-packages/mauigpapi/http/login.py", line 53, in login
    return await self.std_http_post("/api/v1/accounts/login/", data=req,
  File "/opt/mautrix-instagram/lib/python3.9/site-packages/mauigpapi/http/base.py", line 121, in std_http_post
    json_data = await self._handle_response(resp)
  File "/opt/mautrix-instagram/lib/python3.9/site-packages/mauigpapi/http/base.py", line 147, in _handle_response
    await self._raise_response_error(resp)
  File "/opt/mautrix-instagram/lib/python3.9/site-packages/mauigpapi/http/base.py", line 189, in _raise_response_error
    raise IGResponseError(resp, data)
mauigpapi.errors.response.IGResponseError: Request POST /api/v1/accounts/login/ failed: Sorry, there was a problem with your request.

Sadly, the error_type from the API response is not logged, so it's hard to tell what is causing this problem, but it doesn't seem to be caused by incorrect credentials or a sentry block as that would cause different exceptions to be raised.

https://github.com/tulir/mautrix-instagram/blob/2773b364f7ec3cf59cf1fae5b0fba274573492e3/mauigpapi/http/base.py#L177-L189

Is there any way to figure out what is going on there?

Thanks!

@trekkadiz
Copy link

I'm having the same problem right now. I wonder if I did something wrong in the setup process or it's the Insta API playing a prank on me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants