Announcements

Help Wizard

Step 1

NEXT STEP

Topics with Label: Spotipy

Labels

Forum Posts

Updating the Criteria for Web API Extended Access

Hey, I created this thread to get your feedback on our blog post around changes to the Web API extended access criteria, which will take place on May 15th. Please share any of your thoughts on this change in the comments below. All of your feedback w...

Spotify

Oncloud

Newbie

49834 Views

157 replies

18 likes

Discussion
  • 49834 Views
  • 157 replies
  • 18 likes

Persistent invalid_grant Error with Authorization Code Flow (Python/Spotipy) - Exhausted All Troubl

I'm developing a Python application using the Spotipy library and attempting to implement the Authorization Code Flow to gain API access. I'm consistently running into an invalid_grant error during the token exchange step, and I've exhausted almost a...

Visitor

I'm developing a Python application using the Spotipy library and attempting to implement the Authorization Code Flow to gain API access. I'm consistently running into an invalid_grant error during t...

vdsouza12345

Casual Listener

1236 Views

2 replies

3 likes

invalid_grant
Possible Bug
Question
Spotipy
  • 1236 Views
  • 2 replies
  • 3 likes

Getting several tracks audio features returning error 429

Hello, I'm working on a web app, I code in Python and using Spotipy. I want to build a large datasets for my saved tracks that retrieves different track features. For that I'm using the audio_features as well. When going through my code line, it retu...

Newbie

Hello,  I'm working on a web app, I code in Python and using Spotipy. I want to build a large datasets for my saved tracks that retrieves different track features. For that I'm using the a...

472 Views

0 replies

0 likes

audio_features
Spotipy
  • 472 Views
  • 0 replies
  • 0 likes

Solved!! Entering the URL I was redirected to.

Hi all. I need help with my program. I am creating small GUI for my desktop APP (not commercial usage). I come to the "problem" that the Spotipy needs to enter the URL I was redirected to (not all the time), is there a way how to not needed it? Here ...

Regular

Hi all.  I need help with my program. I am creating small GUI for my desktop APP (not commercial usage).  I come to the "problem" that the Spotipy needs to enter the URL I was r...

SandraHeinz

Regular

757 Views

2 replies

0 likes

Spotipy
URL
  • 757 Views
  • 2 replies
  • 0 likes

Solved!! HTTPError: 403 Client Error: Forbidden for url: /tracks?position=0

My Python script that uses Spotipy stopped working yesterday after working fine for months.The full error message is... HTTP Error for POST to https://api.spotify.com/v1/playlists//tracks with Params: {'position': 0} returned 403 due to Insufficient ...

Casual Listener

My Python script that uses Spotipy stopped working yesterday after working fine for months. The full error message is...   HTTP Error for POST to https://api.spotify.com/v1/playlists/<P...

Lkole

Regular

1669 Views

3 replies

1 likes

403 Insufficient client scope
Spotipy
  • 1669 Views
  • 3 replies
  • 1 likes

Error code 500 when trying to retrieve a song from library

PlanPremiumCountry DeviceDesktopOperating SystemLinux My Question or IssueI am trying to simply retrieve a song from my libary using the API, but I am receiving an error code 500. import spotipy from spotipy.oauth2 import SpotifyOAuth scope = "user-l...

Newbie

...rror code 500.       import spotipy from spotipy.oauth2 import SpotifyOAuth scope = "user-library-read user-read-recently-played" sp = spotipy.Spotify(auth_manager=SpotifyOAuth(c...

356 Views

0 replies

1 likes

Python
Spotipy
webapi
  • 356 Views
  • 0 replies
  • 1 likes

Solved!! How to iterate over a playlist in reversed order?

I am writing a simple program using python and library spotipy. How can I iterate over a collection "Liked Songs" in reversed order?

Casual Listener

I am writing a simple program using python and library spotipy. How can I iterate over a collection "Liked Songs" in reversed order?

Ximzend

Spotify Star

827 Views

3 replies

0 likes

Python
Spotipy
  • 827 Views
  • 3 replies
  • 0 likes

Authentication not working in a live server | Django, Spotipy

I am using Django and when I run a local server at localhost:8000, this piece of code works as intended: spotipy.Spotify( auth_manager=SpotifyOAuth( redirect_uri=config["REDIRECT_URI"], client_id=config["SPOTIPY_CLIENT_ID"], client_secret=config["SPO...

Casual Listener

I am using Django and when I run a local server at localhost:8000, this piece of code works as intended: spotipy.Spotify( auth_manager=SpotifyOAuth( r...

Kelvxn

Casual Listener

801 Views

1 replies

0 likes

Django
Spotipy
  • 801 Views
  • 1 replies
  • 0 likes

Web API Label info for a given track.

Hi, im currently learning how to use the Spotify API. I have been using python along with a library called Spotipy in order to access all the information on this API. However, I was curious if it is possible to be able to grab the publishing info for...

Newbie

Hi,   im currently learning how to use the Spotify API. I have been using python along with a library called Spotipy in order to access all the information on this API.   However, I w...

810 Views

0 replies

0 likes

api
label
publishing
Spotipy
  • 810 Views
  • 0 replies
  • 0 likes

Superuser Contribution Adding a Playlist to Queue Using Spotify API

Using ''add_to_queue(uri, device_id=None)'' only lets the user add Tracks or Episodes to the playback queue. I was wondering if there is a secret way to add an entire playlist to the queue? Looking at the Add Item to Playback Queue (https://developer...

Casual Listener

Using ''add_to_queue(uri, device_id=None)'' only lets the user add Tracks or Episodes to the playback queue. I was wondering if there is a secret way to add an entire playlist to the queue? Looking a...

ogernugget

Casual Listener

3990 Views

6 replies

1 likes

Add Playlist to Queue
API Help
spotify api
Spotipy
  • 3990 Views
  • 6 replies
  • 1 likes

Solved!!Superuser Contribution Having problems with Redirect URL in production

I previously had an issue around redirect_uri that was quickly clarified and solved (thank you! ). My app runs perfectly locally, but now that I've deployed it on Heroku, I'm running into a related and confusing issue. To confirm, the 'redirect_uri' ...

Regular

I previously had an issue around redirect_uri that was quickly clarified and solved (thank you! 😁). My app runs perfectly locally, but now that I've deployed it on Heroku, I'm running into a related...

spotifyjosh

Spotify

8449 Views

3 replies

0 likes

Spotipy
  • 8449 Views
  • 3 replies
  • 0 likes

403 Error Spotipy Playback Issues Playlist and Songs

.PlanPremium CountryFrance Operating SystemWindows 10 My Question or IssueWas trying to play a playlist using the spotipy library and my credentials. Was able to get the playlist metadata but when trying to play a song or a playlist I got a 403 error...

Casual Listener

. Plan Premium   Country France   Operating System Windows 10   My Question or Issue Was trying to play a playlist using the spotipy library and my credentials. Was able t...

Peter_Schorn

Roadie

5332 Views

8 replies

1 likes

403 error
Spotipy
  • 5332 Views
  • 8 replies
  • 1 likes

Solved!! Trying to fix my "Liked Songs" playlist

PlanPremiumCountryCanadaDevicePython scriptOperating SystemLinux My Question or IssueI have an issue with my "Liked Songs" playlist where thousands of songs where liked by a bug in spotify pre-2019. I am trying to use spotipy (But if the python libra...

Casual Listener

...bug in spotify pre-2019. I am trying to use spotipy (But if the python library can't do it I could use the web api instead if its possible) to fix it and unlike these songs. My problem is that none o...

fabquenneville

Casual Listener

1474 Views

3 replies

0 likes

Liked Songs Playlist
Spotipy
  • 1474 Views
  • 3 replies
  • 0 likes

Spotipy Web Application, how to retrieve OAuth code?

Hello all,I am branching out into trying to setup a Web Application for the first time, and I'm trying to make something with Spotify since I use it very often. I have a URL setup with my registered app on Heroku and I've got some barebones Python wr...

Casual Listener

...egistered app on Heroku and I've got some barebones Python written using the Spotipy library.   I have created several Twitter apps using OAuth before, so I have a rough idea of how it works c...

PMental

Regular

1576 Views

1 replies

0 likes

OAuth
Python
Spotipy
web
webapp
  • 1576 Views
  • 1 replies
  • 0 likes