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

Soundcloud Bridge returns error 401 #1371

Closed
eyoungmin opened this issue Nov 26, 2019 · 2 comments · Fixed by #1375
Closed

Soundcloud Bridge returns error 401 #1371

eyoungmin opened this issue Nov 26, 2019 · 2 comments · Fixed by #1375
Labels
Bug-Report Confirmed bug report

Comments

@eyoungmin
Copy link

Soundcloud Bridge returns error 401

Bridge returned error 401! (18226)
Soundcloud Bridge - ID was unable to receive or process the remote website's content!
Error message: The requested resource cannot be found! Please make sure your input parameters are correct! cUrl error: (0) PHP error:
Query string: action=display&bridge=Soundcloud&u=ID&format=Mrss
Version: dev.2019-09-12]

error

@eyoungmin eyoungmin added the Bug-Report Confirmed bug report label Nov 26, 2019
@TwizzyDizzy
Copy link
Contributor

TwizzyDizzy commented Nov 28, 2019

Same here. Probably related to #1061 which was an API key that didn't work anymore. Also see #1062.

Looks like we need a new one? Last time @Roliga fixed this. Mayb you could also describe how to acquire that API key? :)

EDIT: Maybe one could also automate the acquirement of that API key and then cache it?

Cheers
Thomas

@Roliga
Copy link
Contributor

Roliga commented Nov 29, 2019

Eup key expired again. Current one seems to be bkcJLoXNaiFlsLaKBQXOxO5FhW0NJVnu. You can manually update CLIENT_ID in bridges/SoundcloudBridge.php for now.

To find that key manually you just visit any page on soundcloud.com, open the "Inspector"/"Developer tools" in your browser and go to the network tab. Refresh the page and look for a request to api-v2.soundcloud.com, and in that request URL you should see something that says client_id=XXX, that's the API key!

Like @TwizzyDizzy said it'd be a good idea to automate this. I'll look into that ASAP and see if it's possible in some convenient way! ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug-Report Confirmed bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants