Skip to content

No longer able to authenticate #17

Description

@tsali

I had this running successfully for several years that I used to automate uploading new voicemails I receive, however the system it was built on had a disk failure and after rebuilding it from a back-up, I am no longer able to authenticate to Soundcloud.

Looking into it, there appears to have been a change to the way SC uses OAUTH2 since this tool was last updated. Since my system was authenticated well before that took place it just kept working until my system failed and then I attempted to re-authenticate after reinstalling my system.

Steps I take to produce the error:

[ sc_new]# sc auth
enter username : MYUSERNAME
enter password: MYPASSWORD
Traceback (most recent call last):
File "/usr/bin/sc", line 3, in
cli.main()
File "/usr/lib/python2.7/site-packages/soundcloud_cli/cli.py", line 216, in main
args.command(args)
File "/usr/lib/python2.7/site-packages/soundcloud_cli/cli.py", line 31, in command_auth
client = authenticate(username, password)
File "/usr/lib/python2.7/site-packages/soundcloud_cli/api/client.py", line 13, in authenticate
scope='non-expiring')
File "/usr/lib/python2.7/site-packages/soundcloud/client.py", line 44, in init
self._credentials_flow()
File "/usr/lib/python2.7/site-packages/soundcloud/client.py", line 115, in _credentials_flow
make_request('post', url, options))
File "/usr/lib/python2.7/site-packages/soundcloud/request.py", line 148, in make_request
result.raise_for_status()
File "/usr/lib/python2.7/site-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.soundcloud.com/oauth2/token

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions