redbuls81.py
DFDimensional Fun
•Created by redbuls81.py on 4/27/2024 in #lavaclient
Video returned by YouTube isn't what was requested
Hello lavalink returns this error. Is there a solution?
3 replies
DFDimensional Fun
•Created by redbuls81.py on 3/16/2024 in #lavaclient
LavalinkHTTPError: Unable to validate JSON response
LavalinkHTTPError: Unable to validate JSON response
at C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\node_modules\lavalink-api-client\dist\endpoint\factory.js:72:19
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
... 3 lines matching cause stack trace ...
at async module.exports (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\src\events\interactions\interactionCreate.js:18:5) {
reason: 'VALIDATION',
[cause]: SchemaError: Failed to parse value
at Object.parse (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\node_modules\lavalink-api-client\node_modules\lavalink-protocol\dist\index.js:29:15)
... 5 lines matching cause stack trace ...
at async module.exports (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\src\events\interactions\interactionCreate.js:18:5) {
[cause]: TypeError: error(s) found
└─ union member
└─ ["data"]["pluginInfo"]["url"]
└─ Expected number, actual "https://open.spotify.com/album/79y7DSLFQH3907u4ysOMGr"
at new SchemaError (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\node_modules\lavalink-api-client\node_modules\lavalink-protocol\dist\index.js:38:20)
at Object.parse (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\node_modules\lavalink-api-client\node_modules\lavalink-protocol\dist\index.js:29:15)
at C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\node_modules\lavalink-api-client\dist\endpoint\factory.js:68:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async play (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\src\commands\music\play.js:111:19)
at async Object.interactionRun (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\src\commands\music\play.js:44:22)
at async Object.handleSlashCommand (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\src\handlers\command.js:140:7)
at async module.exports (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\src\events\interactions\interactionCreate.js:18:5)
}
}
LavalinkHTTPError: Unable to validate JSON response
at C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\node_modules\lavalink-api-client\dist\endpoint\factory.js:72:19
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
... 3 lines matching cause stack trace ...
at async module.exports (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\src\events\interactions\interactionCreate.js:18:5) {
reason: 'VALIDATION',
[cause]: SchemaError: Failed to parse value
at Object.parse (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\node_modules\lavalink-api-client\node_modules\lavalink-protocol\dist\index.js:29:15)
... 5 lines matching cause stack trace ...
at async module.exports (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\src\events\interactions\interactionCreate.js:18:5) {
[cause]: TypeError: error(s) found
└─ union member
└─ ["data"]["pluginInfo"]["url"]
└─ Expected number, actual "https://open.spotify.com/album/79y7DSLFQH3907u4ysOMGr"
at new SchemaError (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\node_modules\lavalink-api-client\node_modules\lavalink-protocol\dist\index.js:38:20)
at Object.parse (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\node_modules\lavalink-api-client\node_modules\lavalink-protocol\dist\index.js:29:15)
at C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\node_modules\lavalink-api-client\dist\endpoint\factory.js:68:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async play (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\src\commands\music\play.js:111:19)
at async Object.interactionRun (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\src\commands\music\play.js:44:22)
at async Object.handleSlashCommand (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\src\handlers\command.js:140:7)
at async module.exports (C:\Users\hamit\OneDrive\Belgeler\GitHub\stade-discord-bot-v14\src\events\interactions\interactionCreate.js:18:5)
}
}
8 replies
DFDimensional Fun
•Created by redbuls81.py on 3/16/2024 in #lavaclient
loadSearch is not a function
@lavaclient/plugin-lavasearch has esm support but I can't use the loadSearch function : interactionRun: guild.client.music.api.loadSearch is not a function
6 replies
DFDimensional Fun
•Created by redbuls81.py on 3/12/2024 in #lavaclient
Error: TypeError [ERR_HTTP_INVALID_HEADER_VALUE]
Hello, I encountered this error while migrating to the new version of lavaclient.
TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "Authorization"
at ClientRequest.setHeader (node:_http_outgoing:655:3)
at new ClientRequest (node:_http_client:286:14)
at request (node:http:101:10)
at initAsClient
TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "Authorization"
at ClientRequest.setHeader (node:_http_outgoing:655:3)
at new ClientRequest (node:_http_client:286:14)
at request (node:http:101:10)
at initAsClient
6 replies