Skip to content

Spotify 403 issue unhandled #3

@tabloomoo

Description

@tabloomoo

Investigate and fix 403 from Spotify

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

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

         ^


WebapiError: [object Object]

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

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

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

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

    at IncomingMessage.emit (node:events:531:35)

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

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

  body: {},

  headers: {

    'content-type': 'text/html; charset=UTF-8',

    'referrer-policy': 'no-referrer',

    'content-length': '304',

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

    connection: 'close'

  },

  statusCode: 403,

  attemptNumber: 6,

  retriesLeft: 0

}


Node.js v22.21.1

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