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

Error in get_my_top_artists_or_tracks #163

Closed
sydneyfiller-ua opened this issue Nov 1, 2021 · 1 comment
Closed

Error in get_my_top_artists_or_tracks #163

sydneyfiller-ua opened this issue Nov 1, 2021 · 1 comment

Comments

@sydneyfiller-ua
Copy link

I get the following error when I run code, I've tried many different parameter values and configurations. The same code works fine for other functions (get_artist_audio_features)

Error in token$sign(req$method, req$url): attempt to apply non-function
Request failed [ERROR]. Retrying in 1 seconds...
Error in token$sign(req$method, req$url): attempt to apply non-function
Request failed [ERROR]. Retrying in 3.5 seconds...
Error in token$sign(req$method, req$url) : attempt to apply non-function

`library(ggplot2)
library(data.table)
library(dplyr)
library(ggridges)
library(spotifyr)
library(ggpmisc)
library(gridExtra)

Sys.setenv(SPOTIFY_CLIENT_ID = '-')
Sys.setenv(SPOTIFY_CLIENT_SECRET = '-)
access_token <- get_spotify_access_token()
#radiohead <- get_artist_audio_features('radiohead')

top_trax <- get_my_top_artists_or_tracks(type='artists', limit=20, offset=0, time_range='long_term') %>%
select(name, artist.name, album.name)
kable()

`

@antaldaniel
Copy link
Collaborator

Same as #160

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