Home > Software design >  can't login to Instagram "CSRF token missing or incorrect"
can't login to Instagram "CSRF token missing or incorrect"

Time:10-31

I was using selenium python to login to Instagram and open some pages, it worked fine but after two days the Instagram started sending the message "CSRF token missing or incorrect". And now I can't even login with my script or manually to any accounts and with any browsers such as Chrome or FireFox on my laptop. I'm not sending any cookies with my selenium. And most of the search results are about Django witch I'm not using.

I erased the cookies, it didn't work. I tried to change my IP to make sure if I'm banned from Instagram, it didn't work. I tried to check for the scrf-token in my url with selenium and sending it to the driver, it didn't work. I'm not sure if the solution is within the code because now I can't login even manually so maybe there must be a problem with my system settings or from Instagram side. Can I fix this with selenium?Or how can I fix this?

CodePudding user response:

I'm having the same issue currently trying to login to Instagram from the browser. It doesn't work for me neither. Disabled ad-blockers as it used to be an issue for me trying to login (not the same error code) and it worked. Not this time.

CodePudding user response:

It seems that the web-Instagram login page has been down for about a week! From last week until now, Most users can't login to Instagram on the web!

  • Related