Bots.Business API v2
  1. Bots
Bots.Business API v2
  • Bots.Business API v2
    • BB Api docs
    • Authentication
      • Sign in
      • Get Telegram login URL
      • Sign up
      • Telegram login
      • Reset Password
    • User account
      • Update password
      • Get user details
      • Update email
      • Get linked telegram accounts
      • Get telegram link url
      • Get users session token
      • Reset api key
      • Log out all device
      • Get iteration usage
      • Turn ON or OFF ads
      • Get payment plan
    • Bots
      • Create Bot
        POST
      • Get Bots
        GET
      • Get single bot
        GET
      • Edit Bot
        PUT
      • Delete Bot
        DELETE
      • Start or Stop bot
        POST
      • Start CSV import
        POST
      • CSV import task status
        GET
      • Copy Bot
        GET
      • Git export
        POST
      • Git import
        POST
      • Get installed libraries
        GET
      • Install Lib
        POST
      • Uninstall lib
        DELETE
      • Get error log
        GET
      • Clear error logs
        DELETE
    • Commands
      • Folders
        • Create a folder
        • Get all folders
        • Delete a folder
      • Get Commands
      • Create Command
      • Get Command Details
      • Edit Command
      • Delete Command
    • Broadcast
      • Get broadcast tasks
      • Delete Broadcast task
      • Pause broadcast task
      • Resume broadcast task
    • Chats
      • Get chats
      • Block chat
      • Unblock chat
    • Properties
      • Get properties
      • Delete property
    • Libraries
      • Get libraries
    • Admin Panel
      • Get admin panels
      • Update admin panel values
    • Demo Store
      • Get store bots
      • Install demo bot
    • Get cloud plans
      GET
    • Schemas
      • Command Schema
      • User Public
      • Create & Edit Bot
      • Bot
  1. Bots

Get error log

GET
https://api.bots.business/v2/bots/{id}/error_logs
Last modified:2025-10-31 10:37:20
Use this endpoint to retrieve error logs for your bot. The response will contain detailed information about any errors that have occurred, including timestamps and error messages.

Request

Path Params

Query Params

Responses

🟢200OK
application/json
Body

🟠401Unauthorized
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.bots.business/v2/bots//error_logs?api_key=UKDZu-c68cubrIbniuE2P_nWj0p5r4IHARNrAV-I'
Response Response Example
200 - Success
{
    "id": 1551366249,
    "title": "MembershipChecker: please install chats for checking in Admin Panel",
    "stack_trace": "at LIB \"MembershipChecker\":-42\nat LIB \"MembershipChecker\":-21\nat LIB \"MembershipChecker\":89\nat LIB \"MembershipChecker\":166",
    "bot_id": 1966582,
    "scenario_id": 56432139,
    "created_at": "2025-10-27T08:52:57.405Z",
    "updated_at": "2025-10-27T08:52:57.405Z",
    "scenario": {
        "id": 56432139,
        "bot_command": {
            "id": 46256813,
            "command": "/start"
        }
    }
}
Modified at 2025-10-31 10:37:20
Previous
Uninstall lib
Next
Clear error logs
Built with