API Key Issues
-
Hi, I seem to be running into an issue with the new way Google sets up their API Keys and credentials. I got the API Key restricted to YouTube Data API v3 and set to the correct domain and wildcards, but I still get the error: “The referrer https://www.googleapis.com/youtube/v3/playlistItems?part=snippet,status&playlistId=UUwyvabSvMdhShkik56mHoLw&maxResults=10&key=AIzaSyADkIWFRgdAWQsIlgNTFg9XmJtwPaUy2sY does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions.”
Accept Request Referrers:
*.tefpoe.com/*
tefpoe.com/*Any idea on what I’m doing wrong here?
The page I need help with: [log in to see the link]
-
Hi,
Can you show us what happens when you create a key without any restrictions?
-EmbedPlus Team
Sure. I’ve set up a brand new key with 0 restrictions. Looks like it’s working now, but I did try this before and after a bit it didn’t allow it with 0 restrictions. I’d like to keep this open for 24 hours.
Same link still applies: https://tefpoe.com/videos/
- This reply was modified 6 years, 5 months ago by lljb3.
Ok. Try adding the restrictions one at a time to see what breaks your access.
-EmbedPlus Team
Immediately after I add the HTTP restrictions is when it breaks.
Ok. Our plugin uses “web server” key, not a “HTTP” website key. So, you can’t use the “HTTP” type of restriction. You must use the “IP Address” type of restriction for server keys, or no restriction at all. It looks like your IP address is 67.205.143.56, if that helps.
That is very helpful. Thank you!
Great. Please take a moment to rate us.
- The topic ‘API Key Issues’ is closed to new replies.