Solvedrss bridge [Instagram] Bridge returned error 500! (18430)

Update 2: A solution has been found thanks to RawkBob! #1617 (comment)

This error began fewer than 24 hours ago. I'm running RSS-Bridge on Heroku, then accessing the feed using Feedly.

Below, I have redacted the Instagram username of the users (because I don't want to reveal who I am following), but the error occurs for multiple, but not all, ALL my Instagram feeds. I have noticed that even if I get this error once for a certain username, I will not necessarily get this error again a second time for that same username. Update: This error now consistently occurs for all my Instagram feeds.

Here is the error message shown in the feed in Feedly:

USERNAME_REDACTED - Instagram Bridge was unable to receive or process the remote website's content!
Error message: `Unable to find username in search result.`
Query string: `action=display&bridge=Instagram&context=Username&u=USERNAME_REDACTED&media_type=all&format=Atom`
Version: `dev.2020-02-26`

    Press Return to check your input parameters
    Press F5 to retry
    Check if this issue was already reported on GitHub (give it a thumbs-up)
    Open a GitHub Issue if this error persists

pauder

Needless to say, the Instagram username does, and has always, existed.

I checked my app logs in Heroku and this is what I see:

app[web.1]: [17-Jun-2020 12:26:43 UTC] PHP Notice:  Trying to get property 'users' of non-object in /app/bridges/InstagramBridge.php on line 67

app[web.1]: [17-Jun-2020 12:26:43 UTC] PHP Warning:  Invalid argument supplied for foreach() in /app/bridges/InstagramBridge.php on line 67

app[web.1]: [17-Jun-2020 12:26:43 UTC] Exception: Unable to find username in search result. in /app/lib/error.php:24

app[web.1]: Stack trace:

app[web.1]: #0 /app/lib/error.php(42): returnError()

app[web.1]: #1 /app/bridges/InstagramBridge.php(73): returnServerError()

app[web.1]: #2 /app/bridges/InstagramBridge.php(228): InstagramBridge->getInstagramUserId()

app[web.1]: #3 /app/bridges/InstagramBridge.php(84): InstagramBridge->getInstagramJSON()

app[web.1]: #4 /app/actions/DisplayAction.php(134): InstagramBridge->collectData()

app[web.1]: #5 /app/index.php(38): DisplayAction->execute()

app[web.1]: #6 {main}

What do you think?

38 Answers

✔️Accepted Answer

Only the user feed appears to be blocked, the hashtag one still works(?), i haven't used location

This workaround fixed the user feed for me:-

Put the user id in he username box, or change the bridge url from the username to the user id

e.g. if you wanted an rss feed of the instagram account

you would use

?action=display&bridge=Instagram&context=Username&u=25025320&media_type=all&format=Html

instead of

?action=display&bridge=Instagram&context=Username&u=instagram&media_type=all&format=Html

To get the user id just visit the profile page in your browser with ?__a=1 at the end of the url, the profilePage_nnnnn is where you get the id

e.g. https://www.instagram.com/instagram/?__a=1 and you'll see

{"logging_page_id":"profilePage_25025320","show_suggested_profiles":true,"show_follow_dialog":false,"graphql":..........

Other Answers:

Put the user id in he username box, or change the bridge url from the username to the user id

Awesome, it works! I added a link to your solution in OP.

I also found another way to get the Instagram user id: Go to any profile and look at the source. Search for "id": (double quotation mark, id, double quotation mark, colon). The number will appear next to the first "id": match. (Don't confuse the user id number with an Instagram post id number, which is a 19-digit number also found in the source. The user id number is much shorter.)

Now comes the hard part. Redoing all my feeds to replace the username with the user id...

...and hoping Instagram doesn't block this solution. 😅

More Issues: