Hi everyone,
I’m hitting a wall with the Spotify node (and HTTP Request node) when trying to add tracks to a newly created playlist.
The Setup:
-
Webhook receives a mood from a custom frontend.
-
Create a Playlist node successfully creates a new private playlist.
-
Search tracks node finds 10 tracks correctly.
-
Add Item to Playlist (or HTTP Request) fails with:
403 Forbidden - perhaps check your credentials?
What I’ve already checked:
-
Scopes: I have enabled
playlist-modify-publicandplaylist-modify-privatein the Spotify Developer Dashboard. -
Re-connection: I have clicked “Reconnect” in n8n credentials to refresh the token with the new scopes.
-
User Management: My Spotify email is added as a “Team Member/User” in the Spotify App Dashboard (Development Mode).
-
Playlist ID: The ID is being passed correctly from the previous node.
The Issue: Even with the correct scopes, I keep getting a 403. If I use an HTTP Request node with JSON.stringify($json.data.map(item => item.uri)), the error remains “Forbidden”. It seems like the app has permission to create but not to write to the playlist, even if the app itself created it.
N8N model: n8nCloud 2.11.4
Has anyone encountered this specific “half-permission” issue with Spotify lately? Any help would be greatly appreciated!