We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, trying to connect with
var authConfig = require('./config/auth');
const tmdb = require('moviedb')(authConfig.tmdb.clientID, 'de'); tmdb.searchMovie({query: 'Alien'}, function(err, result) { if(err) throw (err); console.log(result); });
I get a "Error: getaddrinfo ENOTFOUND deauthentication deauthentication:80".
Any idea what the problem can be?
Thanks a lot.
The text was updated successfully, but these errors were encountered:
The second parameter in the 'constructor' is an alternative endpoint. By default it's https://api.themoviedb.org/3/, but you're passing in de.
https://api.themoviedb.org/3/
de
So it's trying to authenticate at deauthentication instead of https://api.themoviedb.org/3/authentication
deauthentication
https://api.themoviedb.org/3/authentication
Sorry, something went wrong.
No branches or pull requests
Hi,
trying to connect with
var authConfig = require('./config/auth');
I get a
"Error: getaddrinfo ENOTFOUND deauthentication deauthentication:80".
Any idea what the problem can be?
Thanks a lot.
The text was updated successfully, but these errors were encountered: