Skip to content

KeyError: 'data' (truecallerpy login) #40

@nuno-carvalho

Description

@nuno-carvalho

I've installed truecallerpy succesfully.

When I try login, it fails!!

`root@linux:~# sudo truecallerpy login
Login

Enter mobile number in International Format
Example : +919912345678.

? Enter your phone number: +35xxxxxxxxxx
Sending OTP to +35xxxxxxxxxx.
Traceback (most recent call last):
File "/usr/local/bin/truecallerpy", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/truecallerpy/cli.py", line 307, in main
loginFuntion()
File "/usr/local/lib/python3.8/dist-packages/truecallerpy/cli.py", line 141, in loginFuntion
response["data"]["status"] == 1
KeyError: 'data'
root@linux:~# KeyError: 'data'
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions