ImportJSON icon indicating copy to clipboard operation
ImportJSON copied to clipboard

#Error! in ImportJSON formula in google sheets

Open Sabuhi1993 opened this issue 3 years ago • 8 comments

I have been successfully using the following ImportJSON formula in google sheets:

=ImportJSON(csgoempire.com/api/v2/metadata/roulette/history?seed=1997, "/", "noInherit,noTruncate,noPrefixHeaders",94)

But it was until recently that, the same formula started to give the below #ERROR! result. Could you please help? It has been working perfectly for almost 2 month, Some people say that, the server is blocking me. If so is there any way to bypass it?

Exception: Request failed for csgoempire.com returned code 403. Truncated server response: {"blocked":true,"country":"USA","ip":"107.178.193.127"}

Sabuhi1993 avatar Aug 31 '20 15:08 Sabuhi1993

I have a similar Error Screenshot(56) "Fehler" just means error in german

Berdi2 avatar Sep 19 '20 13:09 Berdi2

It's a problem with the server; unfortunately, there's nothing ImportJSON can do to fix this.

Code 403 means that the server will not give you permission to see that page. Maybe your API key or login information is no longer valid; maybe they've seen too many requests from your IP address and decided to ban it. I'd check csgoempire.com and see whether they have restrictions on how often you can access their API.

Good luck!!

autumnlooijen avatar Sep 24 '20 17:09 autumnlooijen

When I try a new Api Key it doesn't work either but when I access it manually it's working just fine

Berdi2 avatar Sep 24 '20 17:09 Berdi2

In your case, the error says you've tried too many invalid API keys; they may have banned your IP address. You might try checking hypixel.net to see their API access policies, or try contacting them directly to explain your situation. Best of luck!

autumnlooijen avatar Sep 24 '20 17:09 autumnlooijen

I have that error but I can access it manually so idk

Berdi2 avatar Sep 24 '20 18:09 Berdi2

When you access it manually, are you using the same IP address and API key? If you are, I'd talk with the folks at hypixel.net and see if they can figure out what's up. It's unfortunately not an ImportJSON issue.

autumnlooijen avatar Sep 24 '20 18:09 autumnlooijen

OK Thank you

Berdi2 avatar Sep 24 '20 18:09 Berdi2

You're welcome! And I hope they can help you out. :-)

autumnlooijen avatar Sep 24 '20 20:09 autumnlooijen