Frustrating SpotifyOauthError: Invalid Client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I've repeatedly checked the client_id and client_secret values with those displayed on the developer dashboard. The values are identical. I only ever copy and paste.
clientID = os.environ['client_id']
clientSecret = os.environ['client_secret']
sp = spotipy.Spotify(auth_manager=SpotifyOAuth(client_id=clientID,
client_secret=clientSecret,
redirect_uri="http://localhost:8888/callback",
scope="user-library-read"))
song_name = "Teen Spirit"
search_result = sp.search(q=song_name)
Any help you can offer is greatly appreciated. Thanks
clientID = os.environ['client_id']
clientSecret = os.environ['client_secret']
sp = spotipy.Spotify(auth_manager=SpotifyOAuth(client_id=clientID,
client_secret=clientSecret,
redirect_uri="http://localhost:8888/callback",
scope="user-library-read"))
song_name = "Teen Spirit"
search_result = sp.search(q=song_name)
Any help you can offer is greatly appreciated. Thanks
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page