kinotto / geonames.js

Nodejs and Browser client for Geonames.org REST API :earth_africa:
http://www.geonames.org/export/client-libraries.html
MIT License
88 stars 17 forks source link

401 Error #33

Closed AliSaeed090 closed 2 years ago

AliSaeed090 commented 3 years ago

I created my account with my username. When I used that username it giving 401 error code

kinotto commented 3 years ago

hi @AliSaeed090 , http status code 401 means there's an underlying authentication issue, check that you're passing the correct username to the library

mkoreo commented 3 years ago

I created my account with my username. When I used that username it giving 401 error code

Hey, I know it's been a while already. But perhaps for other users, this may be helpful. Use following link: https://www.geonames.org/manageaccount (login and revisit if needed) and at the bottom click 'enable webservices'. They are not enabled by default.