Comments (9)
Hi, this issues comes from the Youtube API key itself. Workaround is to make a new project or generate a new key
from youtube-search.
Hi, same error, tried to change everything, api key from multiple accounts, New project etc... and still getting this error :(
from youtube-search.
can I see your code and its output?
from youtube-search.
Any updates on this? I've having the same issue. :(
const options: youtubeSearch.YouTubeSearchOptions = {
maxResults: 10,
key: "API_KEY",
};
const execute = async (
searchTerm: string
): Promise<ListOfLinksResponseType> => {
return new Promise((resolve, reject) => {
youtubeSearch.default(searchTerm, options, (err, res) => {
if (err) return reject({ err, success: false });
return resolve({
data: transformResponse(res),
success: true,
});
});
});
};
The error I'm getting:
Access Not Configured. YouTube Data API has not been used in project PROJECT_ID before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=PROJECT_ID then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
from youtube-search.
@theofaucher Could you resolve this? Did you find any better resource which helped you?
from youtube-search.
It's because the API key is messing up or something
from youtube-search.
It seems like there might be a problem with the API keys for the Youtube Data API v3. You can try running the following:
curl https://www.googleapis.com/youtube/v3/search\?key\=<your_key>\&part\=snippet --header 'Accept: application/json'
nd check for the error response. Maybe you'll have to generate a new API token.
from youtube-search.
@MaxGfeller, running,
curl https://www.googleapis.com/youtube/v3/search\?key\=<your_key>\&part\=snippet --header 'Accept: application/json'
I get this reply,
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceededUnreg",
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
"extendedHelp": "https://code.google.com/apis/console"
}
],
"code": 403,
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
}
}
Even if I generate a new key, I get this. I tried restricting the key to just YouTube Data API v3, but that's didn't help either.
from youtube-search.
@exogenesys Have you tried creating a new app?
I'll close this issue for now as it's unrelated to this library, but feel free to continue the discussion.
from youtube-search.
Related Issues (20)
- WARNING: Critical dependency: the request of a dependency is an expression HOT 1
- Just read it... HOT 1
- TypeError: Cannot read property 'kind' of undefined HOT 2
- index.d.ts typescript error HOT 1
- Bad Request HOT 9
- Exposed key in tests/test-search.js HOT 1
- How to receive video duration? HOT 2
- Use axios as http client HOT 5
- Search fails while more than one word HOT 5
- get URL HOT 2
- Video details
- Optimize requests to use less quota units. HOT 1
- Error: Request failed with status code 403
- Youtube pllaylist URL HOT 2
- Can't search with the package HOT 6
- Tape for testing?
- Need help HOT 10
- Uncaught TypeError: querystring.stringify is not a function
- Video Descriptions not displaying entirely
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtube-search.