B4J Question JTelegramBot Problem

behnam_tr

Active Member
Licensed User
hello everyone
i got this error in JTelegramBot library

B4X:
Program started.
JTelegramBot (myseke_bot) starts in "Polling" mode.
NegativeResponseException{httpResponseCode=401, errorCode=401, description='Unauthorized'} io.fouad.jtb.core.exceptions.NegativeResponseException: Error Code = 401 | Description = Unauthorized
NegativeResponseException{httpResponseCode=401, errorCode=401, description='Unauthorized'} io.fouad.jtb.core.exceptions.NegativeResponseException: Error Code = 401 | Description = Unauthorized


Please help me
 

DonManfred

Expert
Licensed User
errorCode=401, description='Unauthorized'
Seems like your are not initializing it correctly. The bot is not authorized.
are you using correct bot-access-token?
Please post the code you are using.
 
Upvote 0
Top