I have a NodeJS script (attached) to unfollow multiple playlists quickly. It retrieves the playlists of the user, and then unfollows them by ID. However, I obtain lots of 502 server errors when setting a low time between playlists unfollowed (e.g., 10 milliseconds).
This is the error obtained:
{
"error": {
"status": 502,
"message": "Could not unfollow playlist"
}
}