Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Cannot map media array error (Rate Limit) #15

Closed
andrenm opened this issue Nov 23, 2020 · 4 comments
Closed

Cannot map media array error (Rate Limit) #15

andrenm opened this issue Nov 23, 2020 · 4 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@andrenm
Copy link

andrenm commented Nov 23, 2020

Hi, about 1h ago your component stop working. I'm receiving this error on my console, did something happened?

image

It enters on catch block when it tries to assign the [edges] variable, in this line:

image

image

@jamesmoriarty
Copy link
Owner

Hey @andrenm, you dont happen to be using a VPN or a private Instagram profile? I've seen this happen when a origin IP hits a rate limit on the Instagram servers. You may be able to trigger it in development if you make enough requests.

I'll try work out a way to raise more specific exceptions.

@andrenm
Copy link
Author

andrenm commented Nov 23, 2020

Hi @jamesmoriarty , I don't use VPN and I'm trying to load a public Instagram account, it's a company account.

I'm however refreshing the page a lot during front-end development. You know if this request limitation resets daily? Because it's the first time that this happens to me. I also tried to load my page from another computer, that's connected to the same wifi but it doesn't work either.

Thanks for your help.

Edit: I just opened the developer's tools on my Instagram account and I found this error. Do you think that there's something to do with the request limit? I imagine that Instagram knows that because of my I.P?

image

@jamesmoriarty
Copy link
Owner

Hey @andrenm, even if you use a different device (private IP) on the same network you likely have the same public IP and trigger the rate limit. What you are seeing could be symptomatic of the rate limit being trigger. It's hard for me to know exactly because it is on the Instagram side. I thought it would only stay in place for one hour but it doesn't appear to be the case for you.

@jamesmoriarty jamesmoriarty added bug Something isn't working invalid This doesn't seem right labels Nov 24, 2020
@jamesmoriarty jamesmoriarty changed the title Cannot map media array error Cannot map media array error (Rate Limit) Nov 24, 2020
@jamesmoriarty
Copy link
Owner

Closing for #12

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants