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

403 Error for only get_show() #200

Open
SchillerQuinn opened this issue Jun 26, 2023 · 2 comments
Open

403 Error for only get_show() #200

SchillerQuinn opened this issue Jun 26, 2023 · 2 comments

Comments

@SchillerQuinn
Copy link

SchillerQuinn commented Jun 26, 2023

I'm getting 403 errors for get_show() but not for any other functions I've been using (mostly searching for podcasts)

authorization_code <- get_spotify_authorization_code(scope = scopes()[c(7,8,9,10,14,15)])
#authorization_code <- get_spotify_authorization_code(scope = 'user-read-playback-position')
get_show('3kDS5MRlBl53tA3MRGqLzx', authorization =authorization_code )

This happens also when manually just selecting a scope that should work for this ( user-read-playback-position)
Bug persists after purging the httr oauth cache

Also just a heads up, if you don't pass an authorization_code into it, the default get_spotify_authorization_code() scope won't let you look up shows and will raise an error.

@jobreu
Copy link

jobreu commented Sep 26, 2023

I am facing a similar issue. When running get_show(), I get the error message "Illegal scope" in the browser window that opens.

@jobreu
Copy link

jobreu commented Sep 26, 2023

Update: I solved my problem using the code by @SchillerQuinn:

authorization_code <- get_spotify_authorization_code(scope = 'user-read-playback-position')

get_show('showID', authorization = authorization_code )

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

2 participants