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

YouTube connection: Resource Unavailable (403) #2

Open
ianyepan opened this issue Aug 15, 2020 · 16 comments
Open

YouTube connection: Resource Unavailable (403) #2

ianyepan opened this issue Aug 15, 2020 · 16 comments

Comments

@ianyepan
Copy link

Describe the bug
I downloaded this app last night and it worked fine then. However, since this morning (15.Aug.2020), the YouTube connection seems broken. For example, under "Trending YouTube Music Videos" in Browse, or searching for Tracks, Playlists etc. the YouTube sections always show "Resource Unavailable: Response status code does not indicate success: 403 ()."

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Browse'
  2. See the error message under "Trending YouTube Music Videos"

Expected behavior
YouTube thumbnails should show up as how it is in SoundCloud.

Screenshots

image

image

Desktop (please complete the following information):

  • OS: Windows 10
  • Soundbyte version: 19.12.16
@ianyepan
Copy link
Author

I tried resetting and even reinstalling the app, but neither action fixed the problem.

@McBaumwolle
Copy link

I can confirm this. I linked my Google account, but I get the same error every time I try to interact with YouTube content.

@DominicMaas
Copy link
Owner

I need to recreate a new YouTube API key / validate the app with YouTube.

@ianyepan
Copy link
Author

I need to recreate a new YouTube API key / validate the app with YouTube.

I see, thanks for getting back!

@waltermwaniki
Copy link

I have also been experiencing this issue today.

@waltermwaniki
Copy link

Error: Object reference not set to an instance of an object.

@waltermwaniki
Copy link

I need to recreate a new YouTube API key / validate the app with YouTube.

Did you fix this issue already? I still can't access youtube via the app.

@ianyepan
Copy link
Author

ianyepan commented Oct 3, 2020

Did you fix this issue already?

I don't think so.. @DominicMaas friendly ping

@balicali420
Copy link

same here

I need to recreate a new YouTube API key / validate the app with YouTube.

there's something we can do to fix it from our end ?

the other day i got similar app that use YouTube API and it stopped working,
i found a fix, it was creating a private API key for ourselves and just config it

@KibSquib48
Copy link

KibSquib48 commented Dec 5, 2020

same here

I need to recreate a new YouTube API key / validate the app with YouTube.

there's something we can do to fix it from our end ?

the other day i got similar app that use YouTube API and it stopped working,
i found a fix, it was creating a private API key for ourselves and just config it

I know next to nothing about programming but it seems like there's a variable named either &key or clientKey, so i guess we can just find where that variable is set and change it

@KibSquib48
Copy link

KibSquib48 commented Dec 5, 2020

same here

I need to recreate a new YouTube API key / validate the app with YouTube.

there's something we can do to fix it from our end ?
the other day i got similar app that use YouTube API and it stopped working,
i found a fix, it was creating a private API key for ourselves and just config it

I know next to nothing about programming but it seems like there's a variable named either &key or clientkey, so i guess we can just find where that variable is set and change it

https://github.com/DominicMaas/SoundByteOSS/blob/master/music-providers/youtube/src/libs/helpers.ts I think it's the clientKey thing at the top of this, I'm guessing just change it and then build from the source with the added change?

@balicali420
Copy link

same here

I need to recreate a new YouTube API key / validate the app with YouTube.

there's something we can do to fix it from our end ?
the other day i got similar app that use YouTube API and it stopped working,
i found a fix, it was creating a private API key for ourselves and just config it

I know next to nothing about programming but it seems like there's a variable named either &key or clientkey, so i guess we can just find where that variable is set and change it

https://github.com/DominicMaas/SoundByteOSS/blob/master/music-providers/youtube/src/libs/helpers.ts I think it's the clientKey thing at the top of this, I'm guessing just change it and then build from the source with the added change?

in not sure is the one u talking about even though i found the proccess to make a youtube key and i did it and the key looks pretty similar,
i wanted to try it but the thing is i installed the app through windows store and its kinda hard to accses those files,
when i found them they was already ?compiled?
the thing is we'll need to compile the software again after we change this key and i dont know to do it aswell lol

@balicali420
Copy link

I did find a place on app says load unpacked music providers i changed the key and for a moment I thought we maybe fixed it but a pop up messages came says this feature is unavailable :(

@DominicMaas
Copy link
Owner

(Dev here) Apologies for the delays everyone, I won't be able to have a proper look at everything until a week or two from now (been insanely busy since ~March). There will be two problems with the app, 1, the YouTube library is out of date, I can fix that when I get some time off, and 2, the YouTube API key. I need to validate the app with YouTube (so write up a report / video of the app usage, so YouTube can approve the API key), if that fails, I'll expose the ability to have custom API keys or something.

Pretty much the app was being rewritten before I ran out of time to finish rewriting it, so everything is a half-broken mess sadly, I'll give myself a few days to update the app to the latest libraries, remove any half broken bits, try fix some bugs, and build a video for the YouTube API team to look at.

I'll also try to work on building instructions so people can build the app from source, but that will be a little later.

Soon.... hopefully soon...

Sorry about the mess with SoundByte this year

@DominicMaas
Copy link
Owner

Huh, looks like I left this repo in a better state than I thought, the core bits of the app are all opened sourced, and orginised nicely, well done past Dominic!

@DominicMaas
Copy link
Owner

I've created a new YouTube client ID and have updated the source code. Logging in with your YouTube account does not work yet.

I'm going to try get the API key approved, and then release an app update (along with minor SoundCloud fixes). But you should be able to build the app, and then listen to YouTube music videos not logged in.

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

No branches or pull requests

6 participants