byplcy 最近的时间轴更新
byplcy

byplcy

V2EX 第 273132 号会员,加入于 2017-12-08 00:38:19 +08:00
byplcy 最近回复了
请教个问题,
make 后输入手机号 格式为 +8613800138000
我确认 电报 api_id/api_hash 都是对的
会显示这个错误:
Traceback (most recent call last):
File "pull.py", line 222, in <module>
client = ChannelTelegramClient(SESSION, API_ID, API_HASH)
File "pull.py", line 152, in __init__
self.sign_in(user_phone)
File "/usr/local/lib/python3.6/site-packages/telethon/sync.py", line 39, in syncified
return loop.run_until_complete(coro)
File "/usr/lib64/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/usr/local/lib/python3.6/site-packages/telethon/client/auth.py", line 319, in sign_in
return await self.send_code_request(phone)
File "/usr/local/lib/python3.6/site-packages/telethon/client/auth.py", line 474, in send_code_request
phone, self.api_id, self.api_hash, types.CodeSettings()))
File "/usr/local/lib/python3.6/site-packages/telethon/client/users.py", line 64, in __call__
result = await future
telethon.errors.rpcerrorlist.ApiIdInvalidError: The api_id/api_hash combination is invalid (caused by SendCodeRequest)
make: *** [Makefile:11: pull] Error 1
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1191 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 18:31 · PVG 02:31 · LAX 10:31 · JFK 13:31
Developed with CodeLauncher
♥ Do have faith in what you're doing.