0

Hi dears i am working on youtube api/v3. I created an Api key(not browser key). I am enabling all necessary API's on my account.But i am experiencing this error i am posting here.

"error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "ipRefererBlocked",
    "message": "There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed.",
    "extendedHelp": "https://console.developers.google.com"
   }
  ],
  "code": 403,
  "message": "There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed."
 }

this is my query URL url any help regarding my question will be much appreciated.Thanks in advance

Junaid
  • 316
  • 5
  • 23
  • What are you trying to fetch by the call ? Some more context would be helpful – abkds Jan 26 '16 at 07:48
  • I am trying to get most popular list from youtube – Junaid Jan 26 '16 at 07:56
  • @AbKDs please check my query now in comment – Junaid Jan 26 '16 at 08:02
  • It's working right ? It shows the data when I click your new query – abkds Jan 26 '16 at 08:03
  • first remove your api key (I mean remove the exact url) from the question just write the structure of the url and show the error message. You should never reveal api keys – abkds Jan 26 '16 at 08:13
  • got it Sir. next time will be careful. and this is my url. https://www.googleapis.com/youtube/v3/videos?part=snippet&chart=mostPopular&key= – Junaid Jan 26 '16 at 08:16
  • And my error is same as posted in question – Junaid Jan 26 '16 at 08:16
  • I am looking for solution. Give me some time – abkds Jan 26 '16 at 08:18
  • Could you try the solutions given on this question http://stackoverflow.com/questions/22870082/getting-error-403-access-not-configured-please-use-google-developers-console-t?Wi5BVbnHB4PJmAXW14HgBQ&ved=0CEcQFjAJ&usg=AFQjCNFthRH1b0pckt6Nzn5Ywknufjc7Fg – abkds Jan 26 '16 at 08:23

1 Answers1

0

In the Google Developers Console > API Manager > Credentials. Check the section Accept requests from these HTTP referrers (web sites).

Kristoffer Jälén
  • 4,112
  • 3
  • 30
  • 54