DF
Dimensional Funredbuls81.py

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
V
viztea52d ago
Can you send your new Node/Cluster code please
V
viztea52d ago
https://xgob.in or as a file
gobin
gobin is a simple hastebin compatible paste server written in Go.
R
redbuls81.py52d ago
const lavaclient = new Cluster({
nodes: client.config.MUSIC.LAVALINK_NODES,
discord: {
sendGatewayPayload: (id, payload) => client.guilds.cache.get(id)?.shard?.send(payload),
},
});
const lavaclient = new Cluster({
nodes: client.config.MUSIC.LAVALINK_NODES,
discord: {
sendGatewayPayload: (id, payload) => client.guilds.cache.get(id)?.shard?.send(payload),
},
});
I solved the error and the password was changed to auth in the config.
V
viztea52d ago
yes it was
Want results from more Discord servers?
Add your server
More Posts
Error: Unexpected server response: 200When using lavaclient via deno's npm support (I was using lavadeno but that isn't updated to lavalinplay localfile using lavaclientI want to ask that is it possible to play localfile using lavaclient (since my bot already integrateSearch Exception: Unknown file format.Im using "@lavaclient/spotify" and using this as configuration ```javascript client: { id: proHaving an issue with my own Pterodactyl Egg but don't know a fixIm using my own lavalink server and when i try making a request is empty and 404 trying to do myip:2Play music from other sourceshello I would like to know if there is a way to play music from other sources that are not in the lReferenceError: sendWithDiscordLib is not definedI am getting this error: ```Uncaught Promise Rejection ReferenceError: sendWithDiscordLib is not defTrying to make a commandcan someone tell me how to make a simple autoplay command using lavaclient?Project DiscussionA thread for discussing #lavaclient & related stufffError: Unexpected server response: 404Hey I have downloaded the newest java to be able to use lavasrc but since then lavaclient isn't workNodesHello. Iam new in lavaclient and I propably dont really undersnatd one of important parts of the libnodeTrackStart and nodeQueueFinish is not assignable to parameter of type 'keyof ClusterEvents'.Hello. Iam developing discord music bot and I have problem with handler.the bot keeps disconnecting while playingif I play a song after a while it get skipped or the bot disconnect in the middle of the song, even