Skip to content

IntegrityError: UNIQUE constraint failed on message_id #34

@source-creator

Description

@source-creator

I am getting django.db.utils.IntegrityError: UNIQUE constraint failed: telegrambot_message.message_id when running multiple bots. I think this is because there is a unique constraint on message_id. I think it might be better to leave unique off message_id. I think this might also be related to issues others were experiencing, where messages weren't getting delivered reliably.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions