[GH-ISSUE #65] useragent mismatch #46

Closed
opened 2026-02-27 20:05:09 +03:00 by kerem · 8 comments
Owner

Originally created by @mrtreexu1104 on GitHub (Feb 12, 2026).
Original GitHub issue: https://github.com/misiektoja/instagram_monitor/issues/65

{"message":"useragent mismatch","status":"fail"}

Hello, I encounter this issue when monitoring my account. How can I resolve it?

Originally created by @mrtreexu1104 on GitHub (Feb 12, 2026). Original GitHub issue: https://github.com/misiektoja/instagram_monitor/issues/65 {"message":"useragent mismatch","status":"fail"} Hello, I encounter this issue when monitoring my account. How can I resolve it?
kerem 2026-02-27 20:05:09 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@misiektoja commented on GitHub (Feb 12, 2026):

It is due to recent changes made by Instagram, which require adjustments to Instaloader. The issue has already been reported here and there is already a PR for that. Also discussed here.

We are waiting for the official Instaloader 4.16 release. Meanwhile, you can install the beta version from the PR branch as shown below. However, keep in mind that it currently breaks session mode 1, so you need to use mode 2 (the best with Firefox session cookie).

pip uninstall instaloader -y
pip install git+https://github.com/cxyfer/instaloader.git@fix/profile-graphql-v4.16
<!-- gh-comment-id:3891649993 --> @misiektoja commented on GitHub (Feb 12, 2026): It is due to recent changes made by Instagram, which require adjustments to Instaloader. The issue has already been reported [here](https://github.com/instaloader/instaloader/issues/2651) and there is already a [PR](https://github.com/instaloader/instaloader/pull/2652) for that. Also discussed [here](https://github.com/misiektoja/instagram_monitor/issues/61). We are waiting for the official Instaloader 4.16 release. Meanwhile, you can install the beta version from the PR branch as shown below. However, keep in mind that it currently breaks session mode 1, so you need to use mode 2 (the best with Firefox session cookie). ``` pip uninstall instaloader -y pip install git+https://github.com/cxyfer/instaloader.git@fix/profile-graphql-v4.16 ```
Author
Owner

@tomballgithub commented on GitHub (Feb 21, 2026):

Duplicate of #61

<!-- gh-comment-id:3938237974 --> @tomballgithub commented on GitHub (Feb 21, 2026): Duplicate of #61
Author
Owner

@mrtreexu1104 commented on GitHub (Feb 26, 2026):

I am unable to install the beta version from the PR branch as shown below,
and the link displays "Not Found".

tomballgithub @.***> 于2026年2月24日周二 04:21写道:

Closed #65 https://github.com/misiektoja/instagram_monitor/issues/65 as
completed.


Reply to this email directly, view it on GitHub
https://github.com/misiektoja/instagram_monitor/issues/65#event-23012410008,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BMVPBYQJC7QFBIDQG3C5CP34NNOM3AVCNFSM6AAAAACU26PN7WVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMRTGAYTENBRGAYDAOA
.
You are receiving this because you authored the thread.Message ID:
@.***>

<!-- gh-comment-id:3963819439 --> @mrtreexu1104 commented on GitHub (Feb 26, 2026): I am unable to install the beta version from the PR branch as shown below, and the link displays "Not Found". tomballgithub ***@***.***> 于2026年2月24日周二 04:21写道: > Closed #65 <https://github.com/misiektoja/instagram_monitor/issues/65> as > completed. > > — > Reply to this email directly, view it on GitHub > <https://github.com/misiektoja/instagram_monitor/issues/65#event-23012410008>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/BMVPBYQJC7QFBIDQG3C5CP34NNOM3AVCNFSM6AAAAACU26PN7WVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMRTGAYTENBRGAYDAOA> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@tomballgithub commented on GitHub (Feb 26, 2026):

@mrtreexu1104

It looks like some links in the email didn't work for you. If you say 'view on github' from your email update, it will bring up full details.

The PR is here: https://github.com/instaloader/instaloader/pull/2652
And it's coming from cxyfer:fix/profile-graphql-v4.16

Above in this thread (viewable on github as I mentioned), @misiektoja tells how to install it:

pip uninstall instaloader -y
pip install git+https://github.com/cxyfer/instaloader.git@fix/profile-graphql-v4.16
<!-- gh-comment-id:3964167293 --> @tomballgithub commented on GitHub (Feb 26, 2026): @mrtreexu1104 It looks like some links in the email didn't work for you. If you say 'view on github' from your email update, it will bring up full details. The PR is here: https://github.com/instaloader/instaloader/pull/2652 And it's coming from [cxyfer:fix/profile-graphql-v4.16](https://github.com/cxyfer/instaloader/tree/fix/profile-graphql-v4.16) Above in this thread (viewable on github as I mentioned), @misiektoja tells how to install it: ``` pip uninstall instaloader -y pip install git+https://github.com/cxyfer/instaloader.git@fix/profile-graphql-v4.16 ```
Author
Owner

@mrtreexu1104 commented on GitHub (Feb 26, 2026):

C:\Users\xujie>pip install git+
@./profile-graphql-v4.16
WARNING: Ignoring invalid distribution ~ip
(C:\Users\xujie\AppData\Local\Programs\Python\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip
(C:\Users\xujie\AppData\Local\Programs\Python\Python312\Lib\site-packages)
Collecting git+
@.
/profile-graphql-v4.16
Cloning https://github.com/cxyfer/instaloader.git (to revision
fix/profile-graphql-v4.16) to .\AppData\Local\Temp\pip-req-build-pem89ktp
ERROR: Error [WinError 2] 系统找不到指定的文件。 while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your
PATH?

tomballgithub @.***> 于2026年2月26日周四 13:14写道:

tomballgithub left a comment (misiektoja/instagram_monitor#65)
https://github.com/misiektoja/instagram_monitor/issues/65#issuecomment-3964167293

@mrtreexu1104 https://github.com/mrtreexu1104

It looks like some links in the email didn't work for you. If you say
'view on github' from your email update, it will bring up full details.

The PR is here: instaloader/instaloader#2652
https://github.com/instaloader/instaloader/pull/2652
And it's coming from cxyfer:fix/profile-graphql-v4.16
https://github.com/cxyfer/instaloader/tree/fix/profile-graphql-v4.16

Above in this thread (viewable on github as I mentioned), @misiektoja
https://github.com/misiektoja tells how to install it:

pip uninstall instaloader -y
pip install @.***/profile-graphql-v4.16


Reply to this email directly, view it on GitHub
https://github.com/misiektoja/instagram_monitor/issues/65#issuecomment-3964167293,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BMVPBYUIDHL7POUUQVAHWRD4NZ6M5AVCNFSM6AAAAACU26PN7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSNRUGE3DOMRZGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

<!-- gh-comment-id:3964178236 --> @mrtreexu1104 commented on GitHub (Feb 26, 2026): C:\Users\xujie>pip install git+ ***@***.***/profile-graphql-v4.16 WARNING: Ignoring invalid distribution ~ip (C:\Users\xujie\AppData\Local\Programs\Python\Python312\Lib\site-packages) WARNING: Ignoring invalid distribution ~ip (C:\Users\xujie\AppData\Local\Programs\Python\Python312\Lib\site-packages) Collecting git+ ***@***.***/profile-graphql-v4.16 Cloning https://github.com/cxyfer/instaloader.git (to revision fix/profile-graphql-v4.16) to .\AppData\Local\Temp\pip-req-build-pem89ktp ERROR: Error [WinError 2] 系统找不到指定的文件。 while executing command git version ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH? tomballgithub ***@***.***> 于2026年2月26日周四 13:14写道: > *tomballgithub* left a comment (misiektoja/instagram_monitor#65) > <https://github.com/misiektoja/instagram_monitor/issues/65#issuecomment-3964167293> > > @mrtreexu1104 <https://github.com/mrtreexu1104> > > It looks like some links in the email didn't work for you. If you say > 'view on github' from your email update, it will bring up full details. > > The PR is here: instaloader/instaloader#2652 > <https://github.com/instaloader/instaloader/pull/2652> > And it's coming from cxyfer:fix/profile-graphql-v4.16 > <https://github.com/cxyfer/instaloader/tree/fix/profile-graphql-v4.16> > > Above in this thread (viewable on github as I mentioned), @misiektoja > <https://github.com/misiektoja> tells how to install it: > > pip uninstall instaloader -y > pip install ***@***.***/profile-graphql-v4.16 > > — > Reply to this email directly, view it on GitHub > <https://github.com/misiektoja/instagram_monitor/issues/65#issuecomment-3964167293>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/BMVPBYUIDHL7POUUQVAHWRD4NZ6M5AVCNFSM6AAAAACU26PN7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSNRUGE3DOMRZGM> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@tomballgithub commented on GitHub (Feb 26, 2026):

@misiektoja will need to advise

<!-- gh-comment-id:3964195381 --> @tomballgithub commented on GitHub (Feb 26, 2026): @misiektoja will need to advise
Author
Owner

@tomballgithub commented on GitHub (Feb 26, 2026):

@mrtreexu1104
FYI, what I did when the PR was developed was take structures.py from here and replace the one on my system.
https://raw.githubusercontent.com/cxyfer/instaloader/refs/heads/fix/profile-graphql-v4.16/instaloader/structures.py

<!-- gh-comment-id:3964205163 --> @tomballgithub commented on GitHub (Feb 26, 2026): @mrtreexu1104 FYI, what I did when the PR was developed was take structures.py from here and replace the one on my system. https://[raw.githubusercontent.com/cxyfer/instaloader/refs/heads/fix/profile-graphql-v4.16/instaloader/structures.py](https://raw.githubusercontent.com/cxyfer/instaloader/refs/heads/fix/profile-graphql-v4.16/instaloader/structures.py)
Author
Owner

@mrtreexu1104 commented on GitHub (Feb 26, 2026):

Awesome, thanks!

tomballgithub @.***> 于2026年2月26日周四 13:28写道:

tomballgithub left a comment (misiektoja/instagram_monitor#65)
https://github.com/misiektoja/instagram_monitor/issues/65#issuecomment-3964205163

@mrtreexu1104 https://github.com/mrtreexu1104
FYI, what I did when the PR was developed was take structures.py from here
and replace the one on my system.
https://
raw.githubusercontent.com/cxyfer/instaloader/refs/heads/fix/profile-graphql-v4.16/instaloader/structures.py


Reply to this email directly, view it on GitHub
https://github.com/misiektoja/instagram_monitor/issues/65#issuecomment-3964205163,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BMVPBYUJFYS2QJTZR656MJ34N2AAFAVCNFSM6AAAAACU26PN7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSNRUGIYDKMJWGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

<!-- gh-comment-id:3964710961 --> @mrtreexu1104 commented on GitHub (Feb 26, 2026): Awesome, thanks! tomballgithub ***@***.***> 于2026年2月26日周四 13:28写道: > *tomballgithub* left a comment (misiektoja/instagram_monitor#65) > <https://github.com/misiektoja/instagram_monitor/issues/65#issuecomment-3964205163> > > @mrtreexu1104 <https://github.com/mrtreexu1104> > FYI, what I did when the PR was developed was take structures.py from here > and replace the one on my system. > https:// > raw.githubusercontent.com/cxyfer/instaloader/refs/heads/fix/profile-graphql-v4.16/instaloader/structures.py > > — > Reply to this email directly, view it on GitHub > <https://github.com/misiektoja/instagram_monitor/issues/65#issuecomment-3964205163>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/BMVPBYUJFYS2QJTZR656MJ34N2AAFAVCNFSM6AAAAACU26PN7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSNRUGIYDKMJWGM> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/instagram_monitor#46
No description provided.