ipinfo/cli

GET https://ipinfo.io/AS3549: 401 { }

diwsec opened this issue · 6 comments

when i run
diwusec@lol:~$ ipinfo AS3549
err: GET https://ipinfo.io/AS3549: 401 { }

i get this error and i have loged in using token also

What version do you have? And how did you login?

i have the latest version installed using go in ubuntu

diwusec@lol:~$ ipinfo version
2.8.0

and i signed up suing my gmail, after loging in i got a dashboard site, i opened dev tools and used console to get my token

i logged using this token : "IPinfoToken"

like this :

diwusec@lol:~$ ipinfo login
Enter token:
logging in...
done

Ah yes, alright, makes sense. The issue is that the ASN API cannot be queried with a 'free' token. You'd have to purchase a plan that gives you ASN data, like the Basic plan - https://ipinfo.io/pricing

oh actually i saw the github ipinfo where they had mentioned only about free token, which i thought it is free
Get your token for free at https://ipinfo.io/signup i got this wrong

sorry for reporting this as an issue and thanks for your time

Ah ok. No worries and thanks!