Skip to content

Lyrics API not working, invalid token message #49

@crisvtex

Description

@crisvtex

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions