NodeLink icon indicating copy to clipboard operation
NodeLink copied to clipboard

[BUG]: Aggegrate error using soundcloud as source

Open TehPigYT opened this issue 2 months ago • 0 comments

NodeLink version

GitHub commit: e871afa

Description

This is the error I get upon attempting to play soundcloud track

12|npm              | [http1makeRequest]: Failed sending HTTP request to https://a-v2.sndcdn.com/assets/0-b17d3b6c.js: AggregateError
12|npm              | [soundcloud]: Failed to fetch clientId.
12|npm              | file:///root/root/nodelink/src/sources/soundcloud.js:27
12|npm              |   const { body: data } = await http1makeRequest(assetId, {
12|npm              |                 ^
12|npm              | TypeError: Cannot destructure property 'body' of '(intermediate value)' as it is undefined.
12|npm              |     at Object.init (file:///root/root/nodelink/src/sources/soundcloud.js:27:17)
12|npm              |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
12|npm              |     at async file:///root/root/nodelink/src/connection/handler.js:817:7
12|npm              | Node.js v21.1.0

Client

FastLink (1b19ba6)

Steps to reproduce

Connect to NodeLink Search/play a track using scsearch The issue should appear in console

Example code

No response

Confirmations

  • [X] My environment meets the minimum requirements.
  • [X] I have verified that this is not a duplicate issue.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

TehPigYT avatar May 08 '24 15:05 TehPigYT