V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  byplcy  ›  全部回复第 1 页 / 共 1 页
回复总数  1
请教个问题,
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   ·   实用小工具   ·   3264 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 12:53 · PVG 20:53 · LAX 04:53 · JFK 07:53
Developed with CodeLauncher
♥ Do have faith in what you're doing.