org.telegram.api.engine.RpcException: API_ID_INVALID

GitHub | yasserzamani | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Got API_ID_INVALID while I'm sure about passed apiId and apiHash!

    GitHub | 7 months ago | yasserzamani
    org.telegram.api.engine.RpcException: API_ID_INVALID

    Root Cause Analysis

    1. org.telegram.api.engine.RpcException

      API_ID_INVALID

      at org.telegram.api.engine.TelegramApi.doRpcCall()
    2. org.telegram.api
      TelegramApi.doRpcCallNonAuth
      1. org.telegram.api.engine.TelegramApi.doRpcCall(TelegramApi.java:366)
      2. org.telegram.api.engine.TelegramApi.doRpcCallNonAuth(TelegramApi.java:428)
      3. org.telegram.api.engine.TelegramApi.doRpcCallNonAuth(TelegramApi.java:420)
      3 frames
    3. tg
      Main.main
      1. tg.Main.main(Main.java:34)
      1 frame