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 new Node/Cluster code pleasenew Node/Clusterconst lavaclient = new Cluster({
nodes: client.config.MUSIC.LAVALINK_NODES,
discord: {
sendGatewayPayload: (id, payload) => client.guilds.cache.get(id)?.shard?.send(payload),
},
});