mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #1170] urllib3.exceptions.ResponseError: too many 502 error responses when using "playlist-modify-private" scope OAuth #690
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#690
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @raleighlittles on GitHub (Nov 26, 2024).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1170
Describe the bug
Encountering an error when trying to use the private playlist API to create a new playlist. Full log available in attached text file.
traceback.txt
I'm able to use the Client Credentials functionality just fine so I know it's not an issue with my API info.
Your code
This is the function:
This function takes in a list of track IDs and creates a playlist for them. I have a separate function that uses the Search endpoint to find track IDs given a song name and artist name, that part works fine, I just get an error when I try to run this function to create a new playlist with those track IDs.
Output
Full traceback is available here
traceback.txt
Environment:
Packages and versions installed in virtual env:
Python version
Additional context
Add any other context about the problem here.
@raleighlittles commented on GitHub (Nov 26, 2024):
Disregard -- I was passing in text for the playlist description that contained a newline character (
\n) and for some reason the API didn't like that. I removed it and it went away.