Problem in node ‘Add track to playlist‘ Forbidden - perhaps check your credentials?

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:

  1. Webhook receives a mood from a custom frontend.

  2. Create a Playlist node successfully creates a new private playlist.

  3. Search tracks node finds 10 tracks correctly.

  4. 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-public and playlist-modify-private in 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!

Hi @giulia_mazzotti , welcome to the n8n community :tada:

My first workaround would be to delete the Spotify credential in n8n, reconnect it from scratch, and explicitly re-authorize with the needed playlist scopes, then test adding a single track first. If it still fails, confirm the playlist owner is the same Spotify account used in the credential, because Spotify returns 403 when the user is not allowed to modify that playlist.