-
-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<9.1.0> <InnertubeError: Request to https://www.youtube.com/youtubei/... failed with status 400> #621
Comments
Does this always happen or was it a one time case? If it does, then we might have to look at what the library is sending. |
|
Hi! Yours is a different issue that has already been fixed. Try updating YouTube.js to the latest version. |
@LuanRT Have a nice day. |
Sometimes this problem occurs. |
Same problem here |
Steps to reproduce
`
import { Innertube, UniversalCache } from 'youtubei.js';
async function start() {
const yt = await Innertube.create();
const search = await yt.search('test', { duration: 'all', type: 'all', upload_date: 'all' });
console.log(search);
}
start();
`
Failure Logs
Expected behavior
log search result
Current behavior
error 400.
Version
Default
Anything else?
async function test() { const r = await fetch('https://youtube.com'); console.log(await r.text()); } test();
// It returns the result and connects to the YouTube site.
Checklist
The text was updated successfully, but these errors were encountered: