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

TypeError on current_user() #52

Closed
ghost opened this issue Oct 19, 2019 · 3 comments
Closed

TypeError on current_user() #52

ghost opened this issue Oct 19, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Oct 19, 2019

spotipy/client/__init__.py", line 118, in current_user return PrivateUser(**json) TypeError: __init__() got an unexpected keyword argument 'birthdate'
seems birthdate not mentioned on current documentation. It looks like: "birthdate": "2019-10-19"

@felix-hilden
Copy link
Owner

I have set a birthday on my account, but can't verify the result. Could I get some more information, an option in the client to send birthday info for example or any other info on your account that might affect the result?

@felix-hilden felix-hilden added bug Something isn't working invalid This doesn't seem right labels Oct 22, 2019
@ghost
Copy link
Author

ghost commented Oct 22, 2019

"birthdate": { "type": "string", "description": "The user's date-of-birth. This field is only available when the current user has granted access to the user-read-birthdate scope." },
https://github.com/spotify/web-api/blob/master/specifications/raml/schemas/current-user-profile.json

@ghost
Copy link
Author

ghost commented Oct 22, 2019

and user-read-birthdate is not valid scope anymore

@ghost ghost closed this as completed Oct 22, 2019
@felix-hilden felix-hilden removed the invalid This doesn't seem right label Sep 13, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant