Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on latest test #22

Open
uhlhosting opened this issue Apr 7, 2022 · 1 comment
Open

Not working on latest test #22

uhlhosting opened this issue Apr 7, 2022 · 1 comment

Comments

@uhlhosting
Copy link

Hi,

I just managed to deploy Hubot on our Zulip internal chat.

We tried the hubot-youtube, yet we only got this after adding the API Key.

/^[@]\*\*(protos)\*\*/i @Protos youtube me mighty lions
Received TextMessage {
  user: User {
    id: 'cosmin@uhl-services.ch',
    _getRobot: [Function (anonymous)],
    name: 'Miron Viorel-Cosmin',
    email_address: 'cosmin@uhl-services.ch',
    room: 'stream:Operations topic:imported+from+mattermost'
  },
  done: false,
  room: 'stream:Operations topic:imported+from+mattermost',
  text: '@Protos youtube me mighty lions',
  id: 8799
}
[Thu Apr 07 2022 04:24:54 GMT+0000 (Coordinated Universal Time)] ERROR undefined

The bot does not return any reply on channel when the API Key is on place, when I remove it, will cry for the API Key.

On google console all requests fail as errors with 403 status.

@stephenyeargin
Copy link
Member

The 403 code, in my experience, means that you are getting a quota exceeded error. This likely means you do not have a billing account (with a credit card) attached to your Google Console. They recently made that a requirement of using some APIs.

If you set HUBOT_LOG_LEVEL=debug, it should give you a bit more info on what's going on.

I will take a look at making the error feedback a bit more useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants