Giter Club home page Giter Club logo

Comments (9)

thermalthrottle avatar thermalthrottle commented on August 17, 2024

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.

Weshhhh avatar Weshhhh commented on August 17, 2024

Hi, same error, tried to change everything, api key from multiple accounts, New project etc... and still getting this error :(

from youtube-search.

thermalthrottle avatar thermalthrottle commented on August 17, 2024

can I see your code and its output?

from youtube-search.

exogenesys avatar exogenesys commented on August 17, 2024

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.

exogenesys avatar exogenesys commented on August 17, 2024

@theofaucher Could you resolve this? Did you find any better resource which helped you?

from youtube-search.

thermalthrottle avatar thermalthrottle commented on August 17, 2024

It's because the API key is messing up or something

from youtube-search.

MaxGfeller avatar MaxGfeller commented on August 17, 2024

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.

exogenesys avatar exogenesys commented on August 17, 2024

@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.

MaxGfeller avatar MaxGfeller commented on August 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.