GithubHelp home page GithubHelp logo

errors's Introduction

Telegram Bot API errors

Introduction

This is a non-official list of actual errors you can encounter while developing your bot using the Telegram Bot API.

The meaning, explanations, codes and other stuff in these errors may change at any given time, so don't trust too much on this list and use your common sense.

If you want to contribute, ensure to include:

  • The actual json output
  • Optional textual description
  • Whether there is interaction needed from the developer
  • What method did create the error

The error list

This is the actual list that has been composed so far. Feel free to add more.

JSON Human Description Action needed? Methods raising
Unauthorized Bot token is incorrect Correct your bot token and try again any
Bad Request: chat not found any
Bad request: user not found User_id is incorrect Correct user_id any
Forbidden: user is deactivated SendMessage
Forbidden: bot was kicked Bot was kicked Delete chat_id on your side SendMessage
Forbidden: bot blocked by user any
Forbidden: bot can't send messages to bots You tried to send a message to another bot. This is not possible sendMessage
Too many requests You are hitting the API limit, more information here SendMessage
Bad request: Group migrated to supergroup SendMessage
Bad request: Invalid file id The file id you are trying to retrieve doesn't exist Try to call getFile before downloading GetFile
Bad request: Message not modified EditMessageText
Conflict: Terminated by other long poll You have already set up a webhook and are trying to get the updates via getUpdates Do not use getUpdates getUpdates
Bad request: Wrong parameter action in request sendChatAction

errors's People

Contributors

thegasta avatar unreal4u avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.