Skip to content

Error when inserting failed message in database #32321

Closed
@m-cosquer

Description

@m-cosquer

Symfony version(s) affected: 4.3.2

Description
When inserting a utf8mb4 message into the failure queue, it returns an error. This is a table created automatically by the messenger component.

How to reproduce

php bin/console messenger:consume async

after 3 retries when message is handled by Doctrine

Additional context

  SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xF0\x9F\x91\  
  x8B J...' for column 'body' at row 1                                         

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions