instagram-py icon indicating copy to clipboard operation
instagram-py copied to clipboard

fatal error:: "name='csrftoken', domain=None, path=None"

Open knighthawk48753 opened this issue 2 years ago • 8 comments

Select your issue type: (check at least one)

  • [ ] Bug
  • [x] Question
  • [ ] Suggestion
  • [ ] Other (please describe):

Describe your issue: I had this working for a quite a while, but now get:

fatal error:: "name='csrftoken', domain=None, path=None"

I've tried uninstalling / reinstalling, recreating config file, clearing cookies but none of that helped.

If I open a browser on the same computer and hit "https://i.instagram.com/api/v1/si/fetch_headers/?challenge_type=signup&guid=800e88b931bf491fa3b4a7afa4e679eb", I can see the csrftoken value, with domain of ".instagram.com" and path of "/".

Any suggestions would be appreciated. Thank-you.

knighthawk48753 avatar May 13 '23 01:05 knighthawk48753

same !!!

CocoBonjo avatar May 17 '23 21:05 CocoBonjo

Change your user agent in your instapy-config.json

Oraclis avatar May 19 '23 11:05 Oraclis

How to change

devvarun001 avatar Jul 11 '23 04:07 devvarun001

Same problem

GiantPopey avatar Jul 23 '23 09:07 GiantPopey

Same issue, anybody solved this? @Oraclis

mw55309 avatar Nov 21 '23 15:11 mw55309

@Oraclis how?

syntaxerrortion avatar Dec 02 '23 15:12 syntaxerrortion

I too have a same problem

shreesha345 avatar Dec 27 '23 15:12 shreesha345

Change your user agent in your instapy-config.json

How to change bro pls reply pls I give you more bless pls bro teach me how to change the user agen I know how to change user agent but Please tell me what should I change to remove this error?

Arunisgreat1234 avatar Dec 31 '23 04:12 Arunisgreat1234