Skip to content
New issue

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

ERROR 'RPC_CALL_FAIL 401: AUTH_KEY_UNREGISTERED' #132

Open
Carlos272 opened this issue Apr 14, 2018 · 1 comment
Open

ERROR 'RPC_CALL_FAIL 401: AUTH_KEY_UNREGISTERED' #132

Carlos272 opened this issue Apr 14, 2018 · 1 comment

Comments

@Carlos272
Copy link

Hi, I have this problem, help me solve it, please.
The error is as follows: pytg.exceptions.FailException: Error 71: 'RPC_CALL_FAIL 401: AUTH_KEY_UNREGISTERED' (command '[disable_preview] status_online \n')

sender.status_online()
File "/opt/proyecto/lib/python3.5/site-packages/pytg/sender.py", line 630, in command_alias
return self.execute_function(command_name, *args, **kwargs)
File "/opt/proyecto/lib/python3.5/site-packages/pytg/sender.py", line 354, in execute_function
raise e
File "/opt/proyecto/lib/python3.5/site-packages/pytg/sender.py", line 351, in execute_function
return result_parser(message)
File "/opt/proyecto/lib/python3.5/site-packages/pytg/result_parser.py", line 55, in success_fail
raise FailException(json.error_code, json.error)
pytg.exceptions.FailException: Error 71: 'RPC_CALL_FAIL 401: AUTH_KEY_UNREGISTERED' (command '[disable_preview] status_online \n')

@luckydonald
Copy link
Owner

Something seem to be wrong with authentication. Try getting the CLI to work first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants