Skip to content
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

Error in google-translate-api: BAD_REQUEST code in index.js #127

Open
the-man-w-laughs opened this issue May 26, 2023 · 7 comments
Open

Comments

@the-man-w-laughs
Copy link

I encountered an error while using the google-translate-api package. The error message indicates a "BAD_REQUEST" code in the index.js file of the package. Here are the details:

Error
at C:...\words\words-back\node_modules\google-translate-api\index.js:105:17
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'BAD_REQUEST'
}

@megahypercat
Copy link

Same problem, looks like google disabled this.

@resulshm
Copy link

same problem

@skyheros001
Copy link

{
host: 'translate.google.com',
hostname: 'translate.google.com',
method: 'GET',
path: '/translate_a/single?client=t&sl=auto&tl=en&hl=en&dt=at&dt=bd&dt=ex&dt=l
d&dt=md&dt=qca&dt=rw&dt=rm&dt=ss&dt=t&ie=UTF-8&oe=UTF-8&otf=1&ssel=0&tsel=0&kc=7
&q=Ik%20spreek%20Engels&tk=617611.617611',
statusCode: 403,
statusMessage: 'Forbidden'
}

@ufw0x
Copy link

ufw0x commented Jun 18, 2023

Same problem 😔

@oussama166
Copy link

also same problem

@datpmt
Copy link

datpmt commented Nov 3, 2023

This repo has long been no longer supported.
If you're here because you're seeing a failing with this error, you can use my API generated from Google Translate. Here are the documents.

@ufw0x
Copy link

ufw0x commented Nov 12, 2023

This repo has long been no longer supported. If you're here because you're seeing a failing with this error, you can use my API generated from Google Translate. Here are the documents.

nice :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants