Phantombot 3.0.0 YTBplayer

#1

Detected Java 1.8.0_181 running on Linux 4.9.0-8-amd64 (amd64)Debian GNU/Linux 9

Hello dev,
i setup ytbplayer by your tutorial => Acquire YouTube API Key
but still ytbplayer in localhost:25000/ytbplayer stil not working you cant add song or playlist .

  1. botlogin.txt

    what is wrong ??
#2

Error logs showing it not working would be beneficial.

#3

./phantombot/logs/core-error/CORE-ERROR.TXT

[03-06-2019 @ 12:20:49.499 GMT] java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886)
at java.awt.Toolkit.getEventQueue(Toolkit.java:1736)
at java.awt.EventQueue.invokeLater(EventQueue.java:1294)
at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1295)
at javax.swing.Timer$1.run(Timer.java:614)
at javax.swing.Timer$1.run(Timer.java:612)
at java.security.AccessController.doPrivileged(Native Method)
at javax.swing.Timer.post(Timer.java:612)
at javax.swing.TimerQueue.run(TimerQueue.java:186)
at java.lang.Thread.run(Thread.java:748)

[03-06-2019 @ 12:36:04.591 GMT] [GetData()@YouTubeAPIv3.java:130] YouTubeAPIv3 Error: [Domain] usageLimits [Reason] accessNotConfigured

[03-06-2019 @ 12:36:04.619 GMT] [GetData()@YouTubeAPIv3.java:130] YouTubeAPIv3 Error: [Domain] usageLimits [Reason] accessNotConfigured

[03-06-2019 @ 12:36:04.643 GMT] [GetData()@YouTubeAPIv3.java:130] YouTubeAPIv3 Error: [Domain] usageLimits [Reason] accessNotConfigured

[03-06-2019 @ 12:36:04.664 GMT] [GetData()@YouTubeAPIv3.java:130] YouTubeAPIv3 Error: [Domain] usageLimits [Reason] accessNotConfigured

[03-06-2019 @ 12:36:04.687 GMT] [GetData()@YouTubeAPIv3.java:130] YouTubeAPIv3 Error: [Domain] usageLimits [Reason] accessNotConfigured

[03-06-2019 @ 12:36:04.807 GMT] [GetData()@YouTubeAPIv3.java:130] YouTubeAPIv3 Error: [Domain] usageLimits [Reason] accessNotConfigured

./phantombot/logs/error/ERROR.TXT

[03-06-2019 @ 10:30:58.516 GMT] [streamInfo.js:454] Failed to change the status. The Twitch API might be having issues.
[03-06-2019 @ 10:30:58.518 GMT] [streamInfo.js:455] {“status”:403,“message”:“Fail to auth.”,“error”:“Forbidden”,“error_code”:“error_auth_failure”}
[03-06-2019 @ 10:30:58.690 GMT] [streamInfo.js:425] Failed to change the game. The Twitch API might be having issues.
[03-06-2019 @ 10:30:58.693 GMT] [streamInfo.js:426] {“status”:403,“message”:“Fail to auth.”,“error”:“Forbidden”,“error_code”:“error_auth_failure”}
[03-06-2019 @ 12:36:04.695 GMT] [youtubePlayer.js:109] YoutubeVideo::exception: This video is not allowed to be embedded (ID: vY_kyk8yL9U)
[03-06-2019 @ 12:36:04.905 GMT] [youtubePlayer.js:116] YoutubeVideo::exception: This video is not allowed to be embedded (ID: q_Wk_dn-jEg)
[03-06-2019 @ 12:36:05.122 GMT] [youtubePlayer.js:123] YoutubeVideo::exception: This video is not allowed to be embedded (ID: 5WRZ-bC5XzE)
[03-06-2019 @ 12:36:05.296 GMT] [youtubePlayer.js:130] YoutubeVideo::exception: This video is not allowed to be embedded (ID: 9Y5CCHacHfk)
[03-06-2019 @ 12:38:27.766 GMT] [youtubePlayer.js:834] YoutubeVideo::exception: This video is not allowed to be embedded (ID: CfihYWRWRTQ)
[03-06-2019 @ 12:40:06.041 GMT] [youtubePlayer.js:834] YoutubeVideo::exception: This video is not allowed to be embedded (ID: CfihYWRWRTQ)
[03-06-2019 @ 12:40:37.001 GMT] [youtubePlayer.js:834] YoutubeVideo::exception: This video is not allowed to be embedded (ID: CfihYWRWRTQ)
[03-06-2019 @ 12:44:01.906 GMT] [youtubePlayer.js:109] YoutubeVideo::exception: This video is not allowed to be embedded (ID: vY_kyk8yL9U)
[03-06-2019 @ 12:44:01.935 GMT] [youtubePlayer.js:116] YoutubeVideo::exception: This video is not allowed to be embedded (ID: q_Wk_dn-jEg)
[03-06-2019 @ 12:44:01.962 GMT] [youtubePlayer.js:123] YoutubeVideo::exception: This video is not allowed to be embedded (ID: 5WRZ-bC5XzE)
[03-06-2019 @ 12:44:01.993 GMT] [youtubePlayer.js:130] YoutubeVideo::exception: This video is not allowed to be embedded (ID: 9Y5CCHacHfk)
[03-06-2019 @ 12:55:40.399 GMT] [youtubePlayer.js:834] YoutubeVideo::exception: This video is not allowed to be embedded (ID: CfihYWRWRTQ)
[03-06-2019 @ 12:55:43.559 GMT] [init.js:325] Error with Event Handler [yTPlayerSkipSong] Script [./systems/youtubePlayer.js] Stacktrace [youtubePlayer.js:1200 > init.js:323 > init.js:790] Exception [TypeError: Cannot call method “pushSongList” of null]
[03-06-2019 @ 13:08:33.516 GMT] [youtubePlayer.js:834] YoutubeVideo::exception: No data returned.[03-06-2019 @ 13:09:43.372 GMT] [youtubePlayer.js:834] YoutubeVideo::exception: No data returned.

#4

https://developers.google.com/youtube/v3/docs/core_errors#FORBIDDEN

Double check that you followed all steps properly, there is a good chance that something was missed. More than likely the project is not configured to access the API. Or, your overall account has been blocked due to abuse if you use any other APIs (this has happened to someone before).

1 Like
#5

Ok i go now try recreate API keys and try it new instace for this

#6

Now saying this
Mar 8 10:25:33 sorakabottsko launch-service.sh[15878]: [03-08-2019 @ 10:25:33.832 GMT] [ERROR] [GetData()@YouTubeAPIv3.java:130] YouTubeAPIv3 Error: [Domain] usageLimits [Reason] ipRefererBlocked Mar 8 10:25:33 sorakabottsko launch-service.sh[15878]: [03-08-2019 @ 10:25:33.834 GMT] [ERROR] [onEvent()@ScriptEventManager.java:79] Failed to dispatch event tv.phantombot.event.ytplayer.YTPlayerStateEvent

#7

The key more than likely is still not configured properly and either configured to block specific IPs or a server key was generated rather than an API key. For example, this may be set to block:

Please make sure that the directions are followed. If the directions were followed completely, then there might be another reason that YouTube is blocking the IP.

closed #8

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.