-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 403 #4
Comments
Can you show me your code? |
I copied and paste your test, then search the cookie in the request header that contains a long string with some values like this: `import Sactivity, { SpotifyTrackAnalyzer } from 'sactivity'; const sactivity = new Sactivity("cookie"); analyzer.on('beat', beat => { socket.on('track', async track => { |
I am getting
{ error: { status: 403 } }
And this:
(node:9542) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'id' of undefined at /Users/quantime/Documents/GitHub/WhatsappBot/node_modules/sactivity/js/SpotifyClient.js:101:93 at Array.reduce (<anonymous>) at SpotifyClient.resolve (/Users/quantime/Documents/GitHub/WhatsappBot/node_modules/sactivity/js/SpotifyClient.js:101:52) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async SpotifyClient.resolveURI (/Users/quantime/Documents/GitHub/WhatsappBot/node_modules/sactivity/js/SpotifyClient.js:104:31)
The text was updated successfully, but these errors were encountered: