R
R
r1dddy4sv2020-12-02 22:04:09
Python
r1dddy4sv, 2020-12-02 22:04:09

A request to the Telegram API was unsuccessful. Error code: 404 Description: Not Found?

import config
import telebot
import random
import time
import dbworker
import requests
from telebot import types


bot=telebot.TeleBot(config.Token)


error:
ApiTelegramException occurred, args=('A request to the Telegram API was unsuccessful. Error code: 404 Description: Not Found
A request to the Telegram API was unsuccessful. Error code: 404 Description: Not Found

token specified in config.py file : the token is exactly correct, I'm sure I also changed the token, but it didn't help everything worked until I saved the code written in 'Jupiter Notebook' as Python although after that I again wrote the same code in JupiterNotebook, but this did not help please help me thanks
Token='token'





Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question