question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

403 Forbidden login_required when trying to publish a photo

See original GitHub issue

I’ve been getting the following error out of the blue lately. Always happens when trying to post a photo.

IgLoginRequiredError: POST /rupload_igphoto/1568387737093_0_-2540390205 - 403 Forbidden; login_required

I always restore a saved session before calling ig.publish.photo(). It worked perfectly fine for a while but stopped doing so. I’ve also tried creating a new session but doing so didn’t fix it.

Did Instagram maybe make any changes to their API?

I’m using version 2.1.3 of this library.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

3reactions
Androz2091commented, Feb 5, 2020

Is there any way to detect this? I’m creating a chatbot and I need to keep it online forever…

0reactions
AlexanderProdcommented, Oct 26, 2019

I found out this can happen when the Instagram session gets invalidated, this can happen every time. You have to create a new session and there will probably be a challenge.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I'm getting Error 403 - Apple Support Communities
I'm getting error 403 when I try to publish an entry on the Blogger app. I can publish text but not pictures.
Read more >
How to Fix a 403 Forbidden Error on Your WordPress Site
The 403 Forbidden error indicates that the server understood the request but refuses to authorize it. Find out more about the causes and ......
Read more >
What Is the 403 Forbidden Error and How to Fix It (8 Methods ...
1. Check the .htaccess File · Try accessing your website. If it works fine, this indicates that the file was corrupted. · To...
Read more >
Get 403 Forbidden Error, when i use a post method
Hey I get this error, when i use a post method for register page. The Error: Forbidden (403) CSRF verification failed. Request canceled....
Read more >
HTTP POST sent from app to Django Server returns 403 ...
I'm trying to sent a HTTP POST from a client application to my Django ... _HandleRequest(), however it returns a 403 Forbidden, instead...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found