mirror of
https://github.com/Paxsenix0/Spotify-Canvas-API.git
synced 2026-04-27 00:05:56 +03:00
[GH-ISSUE #4] giving empty canvas #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Spotify-Canvas-API#1
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 @waynechirwa on GitHub (Sep 27, 2025).
Original GitHub issue: https://github.com/Paxsenix0/Spotify-Canvas-API/issues/4
its giving this empty return : {"canvasesList":[]}
i did put my SP DC key and i modified the code to show part of the SP DC so confirm its in there
PS C:\Users\blast\Desktop\New folder (2)\Spotify-Canvas-API> node index.js
[dotenv@17.2.2] injecting env (1) from .env -- tip: 📡 observe env with Radar: https://dotenvx.com/radar
✅ SP_DC loaded: AQCQXEcKng... // this here conform my sp from ENV
Fetching updated TOTP secrets...
[dotenv@17.2.2] injecting env (0) from .env -- tip: 📡 observe env with Radar: https://dotenvx.com/radar
Listening on PORT: 3000
Running on local: http://localhost:3000
TOTP secrets updated to version 51
@Inzaniity commented on GitHub (Sep 27, 2025):
I just tested it and it worked fine.
SP_DC="{YOUR_COOKIE}"index.jsusing nodeBelow is also the result using Postman

@waynechirwa commented on GitHub (Sep 27, 2025):
Oky yours is working for me still empty canvas list idk does SP_DC key need to be for an account that is paid for spotify or it doesnt matter if its for a free account
this screen shot is for where i am getting the sp_dc key
this is screenshot for my vs code with where there is sp dc
this is my browser with request
so tell me where i am getting wrong NB i use a free spotify account and i also dnt know if region plays role to affect these canvas
@Inzaniity commented on GitHub (Sep 27, 2025):
What I do to get the SP_DC cookie is open an incognito tab, log in with a burner account (doesn't need to be premium) and grab the cookie from there. Then just close the browser window.
Region shouldn't matter as long as you can reach Spotify itself.
@waynechirwa commented on GitHub (Sep 28, 2025):
i did all that where am i getting it wrong i am still getting all empty i dnt lnow wat to do now i provided screen shots show me where i am getting wrong
i will provide my sp dc key
SP_DC="AQB9qnAb4heKc2Fx2BJcjPmdwDhC_OjQCxHtKuq85NTP1B1JkMH2RPSciiPuHYX3rX5zm51ckP19KlBUL_sDk9mDq_4BsNuT6JkghQZNIKag0Jce2ct1slBbjSfVxqrX55XqXWFee2rqUW1nSVAoTL3fEw5wot_sKEYgx7UDUMhPxaMqVWHsz2EFwwZGiEWeW4jEqLxuSMfvlDeWSQ"
@waynechirwa commented on GitHub (Sep 28, 2025):
what else data should i provide for you to see where i am getting wrong i tried to open ignito in chrome i could not see the sp dc key its not showing
PS C:\Users\blast\Desktop\New folder (2)\Spotify-Canvas-API> node index.js [dotenv@17.2.2] injecting env (1) from .env -- tip: ⚙️ suppress all logs with { quiet: true } AQB9qnAb4heKc2Fx2BJcjPmdwDhC_OjQCxHtKuq85NTP1B1JkMH2RPSciiPuHYX3rX5zm51ckP19KlBUL_sDk9mDq_4BsNuT6JkghQZNIKag0Jce2ct1slBbjSfVxqrX55XqXWFee2rqUW1nSVAoTL3fEw5wot_sKEYgx7UDUMhPxaMqVWHsz2EFwwZGiEWeW4jEqLxuSMfvlDeWSQ Fetching updated TOTP secrets... [dotenv@17.2.2] injecting env (0) from .env -- tip: ⚙️ write to custom object with { processEnv: myObject } Listening on PORT: 3000 Running on local: http://localhost:3000 TOTP secrets updated to version 52still getting the empty canvas and its really annoying since its working on your side . URL below
http://localhost:3000/api/canvas?trackId=3OHfY25tqY28d16oZczHc8@waynechirwa commented on GitHub (Sep 28, 2025):
oky i now managed to do it its now working it was because of my region or place so i used VPN to get SP_DC key for Region in USA Virginia and refreshed and got a key from there and now its now working thanks man great work
@Paxsenix0 commented on GitHub (Sep 30, 2025):
Sorry, I missed the notification on this issue! Since it's already resolved, I'll close it.
Feel free to open it if you have any questions.
@Inzaniity commented on GitHub (Sep 30, 2025):
May I ask which region are you in?