Open MrCaringi opened 9 months ago
When editing a transaction, when you push the "Destination account" button does nothing,
Internally, it seems like a non-supported chars in the payload and the bot crash This is the bot log
Node.js v20.9.0 /home/node/app/node_modules/grammy/out/core/error.js:35 return new GrammyError(`Call to '${method}' failed!`, err, method, payload); ^ GrammyError: Call to 'editMessageText' failed! (400: Bad Request: reply markup is too long) at toGrammyError (/home/node/app/node_modules/grammy/out/core/error.js:35:12) at ApiClient.callApi (/home/node/app/node_modules/grammy/out/core/client.js:86:48) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { method: 'editMessageText', payload: { chat_id: 30831809, message_id: 1490, text: 'Choose new source account:', reply_markup: { inline_keyboard: [ [ { callback_data: 'edit-transaction--edit-destination-account/0/0/106/h\x16Au�', text: 'WWP' }, { callback_data: 'edit-transaction--edit-destination-account/0/1/83/h�ɻk', text: 'Walmart' } ], [ { callback_data: 'edit-transaction--edit-destination-account/1/0/133/h���3', text: 'Toyota' }, { callback_data: 'edit-transaction--edit-destination-account/1/1/96/hF%\x01�', text: 'Tortas Tortuga Rosa' } ], [ { callback_data: 'edit-transaction--edit-destination-account/2/0/78/h&��i', text: 'Televia' }, { callback_data: 'edit-transaction--edit-destination-account/2/1/79/h����', text: 'TELCEL' } ], [ { callback_data: 'edit-transaction--edit-destination-account/3/0/120/h��\x10�', text: 'Taller' }, { callback_data: 'edit-transaction--edit-destination-account/3/1/86/h����', text: 'Tacos Capeados Carmen' } ], [ { callback_data: 'edit-transaction--edit-destination-account/4/0/140/h*YKU', text: 'Super HEB' }, { callback_data: 'edit-transaction--edit-destination-account/4/1/77/hB�,', text: 'Super Fresko' } ], [ { callback_data: 'edit-transaction--edit-destination-account/5/0/141/h6=]!', text: 'Super Costco' }, { callback_data: 'edit-transaction--edit-destination-account/5/1/102/h�8�^', text: 'Super Bodega Aurrera' } ], [ { callback_data: 'edit-transaction--edit-destination-account/6/0/122/h�2y&', text: 'Super 0 Generico' }, { callback_data: 'edit-transaction--edit-destination-account/6/1/108/h\x03�zI', text: 'Steam' } ], [ { callback_data: 'edit-transaction--edit-destination-account/7/0/91/h�\x03G\x19', text: 'Solatube EVERLUX' }, { callback_data: 'edit-transaction--edit-destination-account/7/1/142/h$���', text: 'Shopping ZARA' } ], [ { callback_data: 'edit-transaction--edit-destination-account/8/0/143/hjQ\x0F�', text: 'Shopping Jugeteria' }, { callback_data: 'edit-transaction--edit-destination-account/8/1/38/h�g��', text: 'Restaurant Super Salads' } ], [ { callback_data: 'edit-transaction--edit-destination-account/9/0/125/hW;g�', text: 'Restaurant Pollo Feliz' }, { callback_data: 'edit-transaction--edit-destination-account/9/1/82/hv^��', text: 'Restaurant Panama' } ], [ { callback_data: 'edit-transaction--edit-destination-account/a/0/43/hj�S�', text: 'Restaurant NEORIS' }, { callback_data: 'edit-transaction--edit-destination-account/a/1/124/h�{\x14\x7F', text: 'Restaurant Mr Brown' } ], [ { callback_data: 'edit-transaction--edit-destination-account/b/0/50/h\x02ߚ\x11', text: 'Restaurant Los Doctores' }, { callback_data: 'edit-transaction--edit-destination-account/b/1/136/h\x0F�^N', text: 'Restaurant Los Arcos' } ], [ { callback_data: 'edit-transaction--edit-destination-account/c/0/85/h�yp\x1A', text: 'Restaurant La Costa Marinera' }, { callback_data: 'edit-transaction--edit-destination-account/c/1/139/h\ry�h', text: 'Restaurant HotDogs Las Lomas' } ], [ { callback_data: 'edit-transaction--edit-destination-account/d/0/137/h���', text: 'Restaurant Frida Chilaquiles' }, { callback_data: 'edit-transaction--edit-destination-account/d/1/52/h�\x18�~', text: 'Restaurant Cuarto de Kilo' } ], [ { callback_data: 'edit-transaction--edit-destination-account/e/0/54/h�+��', text: 'Restaurant Carls Juniors' }, { callback_data: 'edit-transaction--edit-destination-account/e/1/61/hT2Ԗ', text: 'Restaurant Buchakas' } ], [ { callback_data: 'edit-transaction--edit-destination-account/f/0/117/hW��l', text: 'Restaurant 0 Generico' }, { callback_data: 'edit-transaction--edit-destination-account/f/1/72/h�� �', text: 'Pollo Loco' } ], [ { callback_data: 'edit-transaction--edit-destination-account/10/0/128/h*}�g', text: 'PlayAsia' }, { callback_data: 'edit-transaction--edit-destination-account/10/1/90/hO�O�', text: 'Pizza Generico' } ], [ { callback_data: 'edit-transaction--edit-destination-account/11/0/111/hzz�V', text: 'Paypal' }, { callback_data: 'edit-transaction--edit-destination-account/11/1/130/hS\x1E\x1F�', text: 'Pasteleria Gen' } ], [ { callback_data: 'edit-transaction--edit-destination-account/12/0/100/h!���', text: 'Papeleria ZIP' }, { callback_data: 'edit-transaction--edit-destination-account/12/1/32/h�2��', text: 'Papeleria IMAGINARTE' } ], [ { callback_data: 'edit-transaction--edit-destination-account/13/0/121/h��&�', text: 'Papeleria 0 generico' }, { callback_data: 'edit-transaction--edit-destination-account/13/1/62/h�De�', text: 'OXXO neoris' } ], [ { callback_data: 'edit-transaction--edit-destination-account/14/0/63/h7oމ', text: 'OXXO' }, { callback_data: 'edit-transaction--edit-destination-account/14/1/58/h\t��u', text: 'NETFLIX' } ], [ { callback_data: 'edit-transaction--edit-destination-account/15/0/93/h�X$!', text: 'Naturgy' }, { callback_data: "edit-transaction--edit-destination-account/15/1/144/h'\x07�\x00", text: 'Municipio' } ], [ { callback_data: 'edit-transaction--edit-destination-account/16/0/123/h8F\x00�', text: 'Motomundo' }, { callback_data: 'edit-transaction--edit-destination-account/16/1/129/h\x03\x04X\x1C', text: 'Motel' } ], [ { callback_data: 'edit-transaction--edit-destination-account/17/0/132/h��S\x19', text: 'MercadoPago' }, { callback_data: 'edit-transaction--edit-destination-account/17/1/49/h�\\TR', text: 'Mañosos' } ], [ { callback_data: 'edit-transaction--edit-destination-account/18/0/127/h8���', text: 'Kickstarter' }, { callback_data: 'edit-transaction--edit-destination-account/18/1/134/h��+i', text: 'Jose de Jesus Martinez' } ], [ { callback_data: 'edit-transaction--edit-destination-account/19/0/57/h7kFQ', text: 'IZZI' }, { callback_data: 'edit-transaction--edit-destination-account/19/1/109/h\x02xj;', text: 'IONOS' } ], [ { callback_data: 'edit-transaction--edit-destination-account/1a/0/112/h-{ m', text: 'INMEDIKA' }, { callback_data: 'edit-transaction--edit-destination-account/1a/1/114/h\x02oN{', text: 'ICVNL' } ], [ { callback_data: 'edit-transaction--edit-destination-account/1b/0/131/h�[�p', text: 'HomeDepot' }, { callback_data: 'edit-transaction--edit-destination-account/1b/1/113/h�\r��', text: 'Hermilo' } ], [ { callback_data: 'edit-transaction--edit-destination-account/1c/0/70/h\x16A"�', text: 'HEB' }, { callback_data: 'edit-transaction--edit-destination-account/1c/1/59/hr��3', text: 'Google PlayStore' } ], [ { callback_data: 'edit-transaction--edit-destination-account/1d/0/68/hR\t\x1D�', text: 'GESSOL' }, { callback_data: 'edit-transaction--edit-destination-account/1d/1/104/h~_�|', text: 'Gasolina PEMEX' } ], [ { callback_data: 'edit-transaction--edit-destination-account/1e/0/53/h,�t�', text: 'Gasolina OXXO' }, { callback_data: 'edit-transaction--edit-destination-account/1e/1/81/h[/u�', text: 'Gasolina Generico' } ], [ { callback_data: 'edit-transaction--edit-destination-account/1f/0/36/h��]�', text: 'Gasolina Fullock' }, { callback_data: 'edit-transaction--edit-destination-account/1f/1/37/h���', text: 'Gasolina BP' } ], [ { callback_data: 'edit-transaction--edit-destination-account/20/0/101/h\nx�E', text: 'Fruteria' }, { callback_data: 'edit-transaction--edit-destination-account/20/1/67/h;,:\x14', text: 'Farmacia Guadalajara' } ], [ { callback_data: 'edit-transaction--edit-destination-account/21/0/30/h���', text: 'Farmacia Benavides' }, { callback_data: 'edit-transaction--edit-destination-account/21/1/66/h�{\x18+', text: 'Farmacia' } ], [ { callback_data: 'edit-transaction--edit-destination-account/22/0/119/hz\x12��', text: 'Estacionamiento' }, { callback_data: 'edit-transaction--edit-destination-account/22/1/35/h��z<', text: 'Efectivo' } ], [ { callback_data: 'edit-transaction--edit-destination-account/23/0/145/h�P`�', text: 'Dummy Vendor' }, { callback_data: 'edit-transaction--edit-destination-account/23/1/71/h���\x15', text: 'Dominos Pizzas' } ], [ { callback_data: 'edit-transaction--edit-destination-account/24/0/89/hI���', text: 'Disney' }, { callback_data: 'edit-transaction--edit-destination-account/24/1/33/h\x16A\x0E\x03', text: 'DHL' } ], [ { callback_data: 'edit-transaction--edit-destination-account/25/0/88/h����', text: 'DECATHLON' }, { callback_data: 'edit-transaction--edit-destination-account/25/1/34/hFH҂', text: 'Coppel' } ], [ { callback_data: 'edit-transaction--edit-destination-account/26/0/107/h�I��', text: 'Cloudflare' }, { callback_data: 'edit-transaction--edit-destination-account/26/1/138/h7f�Z', text: 'Cine' } ], [ { callback_data: 'edit-transaction--edit-destination-account/27/0/92/h\x16A\bY', text: 'CFE' }, { callback_data: 'edit-transaction--edit-destination-account/27/1/80/h�&�\r', text: 'Carbogas' } ], [ { callback_data: 'edit-transaction--edit-destination-account/28/0/118/h(V��', text: 'Buro de Credito' }, { callback_data: 'edit-transaction--edit-destination-account/28/1/69/h\x16\x1F\x7F,', text: 'Barberia Catrin' } ], [ { callback_data: 'edit-transaction--edit-destination-account/29/0/105/h�R��', text: 'BANREGIO' }, { callback_data: 'edit-transaction--edit-destination-account/29/1/31/hL�1�', text: 'Autozone' } ], [ { callback_data: 'edit-transaction--edit-destination-account/2a/0/116/h\x14K��', text: 'Autolavado' }, { callback_data: 'edit-transaction--edit-destination-account/2a/1/51/h=�\t�', text: 'Amazon' } ], [ { callback_data: 'edit-transaction--edit-destination-account/2b/0/110/h�DE�', text: 'Aliexpress' }, { callback_data: 'edit-transaction--edit-destination-account/2b/1/135/h\\d�_', text: 'Alex Covarrubia' } ], [ { callback_data: 'edit-transaction--edit-destination-account/2c/0/65/h9���', text: 'AIRBNB' }, { callback_data: 'edit-transaction--edit-destination-account/2c/1/60/hY�_\x17', text: 'Agua y Drenaje' } ], [ { callback_data: 'edit-transaction--edit-destination-account/2d/0/84/hŕ\x13�', text: 'Acuario' }, { callback_data: 'edit-transaction--edit-destination-account/2d/1/27/h\x11���', text: '9920 Dummy Expense' } ], [ { callback_data: 'edit-transaction--edit-destination-account/2e/0/73/h�F݅', text: '7 Eleven' }, { callback_data: 'edit-transaction--edit-destination-account/2e/1/75/h+�\x03\x13', text: '6800 Jaime Diaz' } ], [ { callback_data: 'edit-transaction--edit-destination-account/2f/0/42/h�\x13��', text: '6030 Luciano' }, { callback_data: 'edit-transaction--edit-destination-account/2f/1/41/h\nhg|', text: '6020 Isabella' } ], [ { callback_data: 'edit-transaction--edit-destination-account/30/0/40/h�c��', text: '6010 Antonella' }, { callback_data: 'edit-transaction--edit-destination-account/30/1/39/h\x18\x1E�j', text: '6000 Virginia' } ], [ { callback_data: 'edit-transaction--edit-destination-account/31/0/115/hNۆ\x06', text: '2302 COPPEL DEP' }, { callback_data: 'edit-transaction--edit-destination-account/31/1/87/h\\O�U', text: '2801 Prestamo a Juan Saul' } ], [ { callback_data: 'edit-transaction--edit-destination-account/32/0/74/h�CN\x12', text: '2800 Prestamos a Jaime' }, { callback_data: 'edit-transaction--edit-destination-account/32/1/23/h��Ɛ', text: '2501 Hipoteca CITI Shira211' } ], [ { callback_data: 'edit-transaction--edit-destination-account/33/0/20/h7�T~', text: '2402 KAWASAKI Z900RS21' }, { callback_data: 'edit-transaction--edit-destination-account/33/1/17/h�?r', text: '2401 TOYOTA Sienna20' } ], [ { callback_data: 'edit-transaction--edit-destination-account/34/0/29/h����', text: 'Cash account' } ], [], [ { callback_data: 'edit-transaction--edit-destination-account/36/0//h\x12)��', text: '🔙' } ], [] ] } }, ok: false, error_code: 400, description: 'Bad Request: reply markup is too long', parameters: {} } Node.js v20.9.0
Thanks for your support!
What are the names of your accounts in Firefly? Looks like there is a problem in handling specific chars in account names.
When editing a transaction, when you push the "Destination account" button does nothing,
Internally, it seems like a non-supported chars in the payload and the bot crash This is the bot log
Thanks for your support!