Spotify Playlist Get songs

n8n version:2.12.3 (Self Hosted)
Database (default: SQLite):SQLite
n8n EXECUTIONS_PROCESS setting (default: own, main):default
Running n8n via (Docker, npm, n8n cloud, desktop app):npm
Operating system: debian
trying to use 🎵 Sync YouTube and Spotify music playlists | n8n workflow template but its not working and im not sure why

Describe the problem/error/question

i just get Error code 403 for the get tracks Operation
From Spotify
Error code
403
Full message
Request failed with status code 403
Error data
{ “error”: { “status”: 403, “message”: “Forbidden” } }
Other info
Node type
n8n-nodes-base.spotify
Node version
1 (Latest)
n8n version
2.12.3 (Self Hosted)
Time
25/03/2026, 8:00:11 pm
Stack trace
NodeApiError: Forbidden - perhaps check your credentials? at ExecuteContext.httpRequestWithAuthentication (/usr/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1433:9) at processTicksAndRejections (node:internal/process/task_queues:104:5) at ExecuteContext.httpRequestWithAuthentication (/usr/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1806:11) at ExecuteContext.spotifyApiRequest (/usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/nodes/Spotify/GenericFunctions.ts:40:10) at ExecuteContext.execute (/usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/nodes/Spotify/Spotify.node.ts:1122:24) at WorkflowExecute.executeNode (/usr/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1043:8) at WorkflowExecute.runNode (/usr/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1222:11) at /usr/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1668:27 at /usr/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2313:11

What is the error message (if any)?

Please share your workflow

Share the output returned by the last node

cant since the Add tracks not already in playlist dose not work if Get tracks inside the Spotify Playlist fails

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

welcome to the n8n community @ThisWasNotTaken
My first guess would still be permissions. A 403 on Spotify Get tracks usually means the n8n credential can authenticate, but that Spotify user is missing access to that playlist or is missing the right playlist scopes. I’d reconnect the Spotify credential, make sure it includes the private or collaborative playlist scopes if needed, and double-check that the Spotify account in n8n is actually the owner or a collaborator on that playlist. If the app is still in dev mode, I’d also make sure that user is added as a test user in Spotify.

Thanks.

i still cant seem to get it to work. i might be missing the playlist scopes but im not sure how to add those scopes

1 Like

Hello @ThisWasNotTaken i see you’re working with a template… have you made the right connections?

Hi @WisdomDavid

mabye but im not to sure. this is how i have it setup. and my playlist is public if that helps

Try disconnecting and reconnecting your Spotify credentials in n8n to force a fresh token, that usually does the trick

yea tried that still the same thing. should i ask spotify

its seem to be with the scopes and im not sure how i would change the scopes for the spotify creds

@ThisWasNotTaken
That would make sense, yes. Even if you already added the scopes in the Spotify app, the old token usually stays active without those new scopes until you reconnect the credential in n8n.

I’d update the Spotify credential in n8n, then click Connect my account again so Spotify issues a new token with the new scopes. If that’s messy, I’d create a fresh credential and reconnect it. Then I’d test the Spotify node alone. Also, Spotify documents that Get Playlist Items only works if the authenticated user is the playlist owner or collaborator

the spotify dashboard has no scopes has no scopes that i can add unless i use the OAuth2 Api

so i think that the spotify OAuth2 Api is not requesting the right things

@ThisWasNotTaken
The fix isn’t to “add scopes in the Spotify dashboard.” The fix is to generate a new token with the correct scopes. If the native Spotify node doesn’t make that clear or request the right scopes, I’d use OAuth2 API + HTTP Request instead.