Closed swiftbird07 closed 5 months ago
@gieljnssns
@swiftbird07 have you tried a different browser to setup the provider?
I have the same issue in regardless of the browser I am using.
I have the same problem on all 3 versions of stable - beta - dev, on homeassistant, on other music providers, there is no problem.
@swiftbird07 @danielkleinert @The-Erf Can you of you confirm this has been fixed?
Closing assumed fixed
Sorry forgot to look into this earlier. The issue still persists.
Maybe the Patch is not included in my version? HACS says I am on 2024.5.1 with MA saying it's on 2.0.4. I also could not find the fix in the commits.... 🧐
Will be in the beta and 2.0.5 when it comes out. Let us know if it isn’t working when that happens
Does work in the current stable. 🎉
(Also i was trying to paste the track_authorisation from the URL and not the authorisation from the headers - probably contributed to the issue....)
I'm getting the same error
2024-08-27 09:17:03.356 ERROR (MainThread) [music_assistant.webserver] Error handling message: config/providers/save: 401, message='Attempt to decode JSON with unexpected mimetype: ', url='https://api-v2.soundcloud.com/me'
I'm getting the: O-Auth token (without "O-Auth ") from the inspect > Application tab > Storage > Cookies > https://soundcloud.com client id from a search for "client_id" in the inspect > Network Tab
2.3.0b7 version of MAS
Does it matter that I'm trying this remotely?
@nimbling Possibly. Try again when you are home
I'm getting the same error at home using Safari and Chrome. Should I try setting the log level to more verbose?
Please open a new issue and do NOT increase the log level but do include the whole thing from MA SETTINGS>> CORE
Will do, thanks!
Using Brave, this is working for me (just now) -now!
By the way, I think the error was because I somehow managed to find and use the wrong OAuth key. There's more than one I think, and using the one mentioned in the readme (which I could not find at first) fixed this for me.
I am having this exact issue. Was only able to find the oauth key via Inspect > Application > Storage > Cookie > oauth_token
I was totally unable to find the auth by following the readme https://music-assistant.io/music-providers/soundcloud/ I suspect the website has changed. Any assistance would be very appreciated
I noticed if you type in OAuth 2-297731-684228-Fbxxxxxxxxxxxxxx it works but if you type in O-Auth 2-297731-684228-Fbxxxxxxxxxxxxxx it does not work and comes with that error.
So the documentation is perhaps a bit outdated
Thanks we will have a look and make a note in the docs.
What version of Music Assistant has the issue?
2.0.4 (Docker)
What version of the Home Assistant Integration have you got installed?
2024.5.1
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
The problem
I am unable to connect Soundcloud:
I will just print the error:
0, message='Attempt to decode JSON with unexpected mimetype: ', url=URL('https://api-v2.soundcloud.com/me')
How to reproduce
1) Follow instructions at https://music-assistant.io/music-providers/soundcloud/ 2) Get error
Music Providers
Soundcloud
Player Providers
None
Full log output
log.txt
Additional information
Screenshot:
I am using the docker install method as I don't have HAOS.
What version of Home Assistant Core are your running
2024.4.4
What type of installation are you running?
Home Assistant Container
On what type of hardware are you running?
Linux