Skip to content
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

Lyrics API not working, invalid token message #49

Open
crisvtex opened this issue Jul 18, 2020 · 1 comment
Open

Lyrics API not working, invalid token message #49

crisvtex opened this issue Jul 18, 2020 · 1 comment

Comments

@crisvtex
Copy link

Hi there, first of all, great work! Loved your app :)

I'm trying to display lyrics, but even after adding Genius API Key, it shows the following message:

❯ sp ly
(node:57931) UnhandledPromiseRejectionWarning: Error: invalid_token: The access token provided is expired, revoked, malformed or invalid for other reasons.
    at /usr/local/lib/node_modules/spotify-cli-mac/node_modules/lyricist/node6/index.js:32:31
    at Generator.next (<anonymous>)
    at step (/usr/local/lib/node_modules/spotify-cli-mac/node_modules/lyricist/node6/index.js:3:191)
    at /usr/local/lib/node_modules/spotify-cli-mac/node_modules/lyricist/node6/index.js:3:361
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Something that came to my mind, is that Genius API requests APP WEBSITE URL and REDIRECT URI, but they're not mentioned in README, so I'm not sure how to follow on these.

Captura de Pantalla 2020-07-18 a la(s) 12 22 41

Also, I don't know if this is related, but everytime the spotify CLI command is issued, terminal logs this warning:

❯ sp info
(node:58240) Warning: Accessing non-existent property padLevels of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)

Thanks in advance, cheers!

@ersel
Copy link
Owner

ersel commented Jul 18, 2020

@crisvtex sorry, I am no longer maintaining this library. Feel free to investigate further by cloning the repo and fiddling with the code yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants