BUTTON_DATA_INVALID when using multiple entities in payload

Hello, now I need to attach multiple entites. It seems like '/affirm{"my_entity_1": "value_1", "my_entity_2": "value_2}' does not work as there is an error that said:

ERROR rasa.server - An unexpected error occurred. Error: A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: BUTTON_DATA_INVALID

What is the correct syntax to do this?

Did you forget to close the double quotes here? :slight_smile:

I have the double quote ended, but both entities are not regconized by RegexMessageHandler.

Apparently Telegram only lets you send less than 64 bytes of data: Question/Bug: BUTTON_DATA_INVALID if callback_data is stringified json · Issue #706 · yagop/node-telegram-bot-api · GitHub

I am already aware of this limitation. When I tried to limit my data down to less than 64 bytes, the RegexMessageHandler does not regconize my entities when I pass multiple rather than a single entity