username-availability-checker icon indicating copy to clipboard operation
username-availability-checker copied to clipboard

KeyError: 'status'

Open bcoles opened this issue 6 years ago • 2 comments

Ran into this issue, with a few different usernames, always after the github check. Presumably an issue with the instagram check.

$ python3 cli.py 
Enter the username : asdf
Checking username availability now...
Taken on asciinema
Taken on behance
Taken on deviantart
Impossible on facebook
Taken on gitlab
Taken on github
Traceback (most recent call last):
  File "cli.py", line 26, in <module>
    main()
  File "cli.py", line 19, in main
    elif res['status'] == 404 or res['status'] == 301:
KeyError: 'status'

bcoles avatar Sep 23 '18 12:09 bcoles

Does it occurs also for username_api.py? And what website are having problem with?

      1. 오후 9:08 Brendan Coles [email protected] 작성:

Ran into this issue, with a few different usernames, on different sites.

$ python3 cli.py Enter the username : asdf Checking username availability now... Taken on asciinema Taken on behance Taken on deviantart Impossible on facebook Taken on gitlab Taken on github Traceback (most recent call last): File "cli.py", line 26, in main() File "cli.py", line 19, in main elif res['status'] == 404 or res['status'] == 301: KeyError: 'status' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

seeeturtle avatar Sep 23 '18 14:09 seeeturtle

@seeeturtle Presumably an issue with the instagram check. I haven't tried with username_api.py

bcoles avatar Sep 23 '18 14:09 bcoles