Skip to content

Erroring Out Due to Spotify API Update (Updated API May 15) #1266

@Iota147

Description

@Iota147

What's happening?
Erroring out on start-up. After further investigation, Spotify seems to have updated its API version, so there is probably an issue regarding that. It has also errored out, saying it's an invalid cli ID and secret, but that may have been due to not accepting the new API terms

Logs

/usr/app/node_modules/spotify-web-api-node/src/http-manager.js:39


return new WebapiRegularError(response.body, response.headers, response.statusCode);


^




WebapiRegularError: An error occurred while communicating with Spotify's Web API.


Details: No token provided.


at _toError (/usr/app/node_modules/spotify-web-api-node/src/http-manager.js:39:12)


at /usr/app/node_modules/spotify-web-api-node/src/http-manager.js:71:25


at callback (/usr/app/node_modules/superagent/src/node/index.js:902:3)


at <anonymous> (/usr/app/node_modules/superagent/src/node/index.js:1130:18)


at IncomingMessage.<anonymous> (/usr/app/node_modules/superagent/src/node/parsers/json.js:19:7)


at Stream.emit (node:events:518:28)


at Unzip.<anonymous> (/usr/app/node_modules/superagent/src/node/unzip.js:54:12)


at Unzip.emit (node:events:518:28)


at endReadableNT (node:internal/streams/readable:1698:12)


at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {


body: { error: { status: 401, message: 'No token provided' } },


headers: {


'www-authenticate': 'Bearer realm="spotify"',


'access-control-allow-origin': '*',


'access-control-allow-headers': 'Accept, App-Platform, Authorization, Content-Type, Origin, Retry-After, Spotify-App-Version, X-Cloud-Trace-Context, client-token, content-access-token',


'access-control-allow-methods': 'GET, POST, OPTIONS, PUT, DELETE, PATCH',


'access-control-allow-credentials': 'true',


'access-control-max-age': '604800',


'content-type': 'application/json',


'content-encoding': 'gzip',


'strict-transport-security': 'max-age=31536000',


'x-content-type-options': 'nosniff',


date: 'Sat, 17 May 2025 17:53:32 GMT',


server: 'envoy',


via: 'HTTP/2 edgeproxy, 1.1 google',


'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',


connection: 'close',


'transfer-encoding': 'chunked'


},


statusCode: 401


}




Node.js v22.14.0

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Runtime
I'm running Muse:

  • Directly from the cloned repository
  • Inside a Docker container
  • Something else (please elaborate)

Versions

  • Muse: Latest - 2.11.1
  • Docker (if applicable): 4.40.0
  • OS: Win 11, using WSL
  • Node.js: (if running outside the Docker container)
  • ffmpeg: (if running outside the Docker container, 4.1 or later is required)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions