-
Notifications
You must be signed in to change notification settings - Fork 497
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
TypeError: Cannot read properties of undefined (reading 'join') #462
Comments
For some reason, the function needed a parameter before the playlist id. spotifyApi.areFollowingPlaylist('spotify', '5ieJqeLJjjI8iJWaxeBLuK', [
'thelinmichael',
'ella',
])
.then(
function (data: any) {
data.body.forEach(function (isFollowing: any) {
console.log('User is following: ' + isFollowing)
})
},
function (err: any) {
console.log('Something went wrong!', err)
}
) Can someone explain to me what this first parameter is? |
Looks like the README may need to be updated as the issue may be coming from the followers being undefined From: spotify-web-api-node/src/spotify-web-api.js Lines 1342 to 1348 in be15f1c
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am having problem with spotifyApi.areFollowingPlaylist. I am testing the example you provided
But I am getting the error: TypeError: Cannot read properties of undefined (reading 'join')
The text was updated successfully, but these errors were encountered: