Instagram API is unaccessible on many instances #317

Closed
opened 2025-11-09 09:46:04 -06:00 by GiteaMirror · 11 comments
Owner
Originally created by @lpwyz on GitHub (Jun 15, 2024). Hello, we are unable to obtain the video link for Instagram For example: https://www.instagram.com/reel/C8N7FIHuENX/?igsh=Znk2azI2MHJwNnk0 https://www.instagram.com/reel/C4vRLDmrbqq/?igsh=OWxqOXE5NTBvNGp2 https://www.instagram.com/reel/C7HaVTsOxPp/?igsh=MWU0dWEzdDFzZmw2NA==
GiteaMirror added the bug label 2025-11-09 09:46:04 -06:00
Author
Owner

@prabeshAryal commented on GitHub (Jun 19, 2024):

I am not sure, but what my initial guess for your problem is server and location. Instagram cleverly started restricting content based on location. Like being in Europe, i was not able to download the contents from URL, it showed as INVALID URL HASH although it was correct. I was geo restricted.

So, i shifted my server to San Francisco ultimately everything was working fine as hell.

@prabeshAryal commented on GitHub (Jun 19, 2024): I am not sure, but what my initial guess for your problem is server and location. Instagram cleverly started restricting content based on location. Like being in Europe, i was not able to download the contents from URL, it showed as `INVALID URL HASH `although it was correct. I was geo restricted. So, i shifted my server to San Francisco ultimately everything was working fine as hell.
Author
Owner

@ihatespawn commented on GitHub (Jun 27, 2024):

affects instances with a lot of users or datacenter ips, try another instance
https://instances.hyper.lol/

@ihatespawn commented on GitHub (Jun 27, 2024): affects instances with a lot of users or datacenter ips, try another instance https://instances.hyper.lol/
Author
Owner

@wukko commented on GitHub (Jun 27, 2024):

only affects the main instance

it affects all instances with big enough traffic (and especially those with datacenter ips)

@wukko commented on GitHub (Jun 27, 2024): > only affects the main instance it affects all instances with big enough traffic (and especially those with datacenter ips)
Author
Owner

@ihatespawn commented on GitHub (Jun 27, 2024):

from my testing

i didn't test every instance, just some

i also updated the message

@ihatespawn commented on GitHub (Jun 27, 2024): > from my testing i didn't test every instance, just some i also updated the message
Author
Owner

@wukko commented on GitHub (Jun 27, 2024):

please don't reply with unproven assumptions next time

@wukko commented on GitHub (Jun 27, 2024): please don't reply with unproven assumptions next time
Author
Owner

@ihatespawn commented on GitHub (Jun 27, 2024):

please don't reply with unproven assumptions next time

okay, i just didn't know. i'll be sure to not make that mistake next time

@ihatespawn commented on GitHub (Jun 27, 2024): > please don't reply with unproven assumptions next time okay, i just didn't know. i'll be sure to not make that mistake next time
Author
Owner

@wukko commented on GitHub (Jun 27, 2024):

it's ok :3

@wukko commented on GitHub (Jun 27, 2024): it's ok :3
Author
Owner

@tediorelee commented on GitHub (Jun 28, 2024):

Hi, about the ig download issue, is there any fix?

I tried to deploy cobalt api and web on my local NAS and fill the cookies.json file but X(twitter) and Instagram still getting "couldn't find any media content" or "content may be region restricted" errors

@tediorelee commented on GitHub (Jun 28, 2024): Hi, about the ig download issue, is there any fix? I tried to deploy cobalt api and web on my local NAS and fill the cookies.json file but X(twitter) and Instagram still getting "couldn't find any media content" or "content may be region restricted" errors
Author
Owner

@wukko commented on GitHub (Jun 28, 2024):

twitter only works for video in case you're trying to download images. you can save images from the app, this functionality isn't needed in cobalt.

there's currently no clear fix for instagram :(

@wukko commented on GitHub (Jun 28, 2024): twitter only works for video in case you're trying to download images. you can save images from the app, this functionality isn't needed in cobalt. there's currently no clear fix for instagram :(
Author
Owner

@tediorelee commented on GitHub (Jun 28, 2024):

twitter only works for video in case you're trying to download images. you can save images from the app, this functionality isn't needed in cobalt.

there's currently no clear fix for instagram :(

Understood, download x videos with cobalt works fine and I didn't know it only meant for videos...

@tediorelee commented on GitHub (Jun 28, 2024): > twitter only works for video in case you're trying to download images. you can save images from the app, this functionality isn't needed in cobalt. > > there's currently no clear fix for instagram :( Understood, download x videos with cobalt works fine and I didn't know it only meant for videos...
Author
Owner

@wukko commented on GitHub (Jul 20, 2024):

main instance has been mostly fine lately, we cannot do anything more to increase availability at the moment. we've implemented (essentially) all possible ways of getting post info from instagram.

i recommend adding more dummy accounts or changing server IP addresses to ones that aren't blocked by instagram.

@wukko commented on GitHub (Jul 20, 2024): main instance has been mostly fine lately, we cannot do anything more to increase availability at the moment. we've implemented (essentially) all possible ways of getting post info from instagram. i recommend adding more dummy accounts or changing server IP addresses to ones that aren't blocked by instagram.
Sign in to join this conversation.