Messaging service
After a year of usage my code I see many errors in production after the date 26.6.
Error: Wrong json format: Cannot deserialize instance of `java.lang.String` out of START_OBJECT token
at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.backendless.services.mail.SendTemplateMailMessage["template-values"]->java.util.LinkedHashMap["customer"])
Application ID
3551EF8F-C241-7579-FF0D-45ECE827AF00
Expected Behavior
Should not cause an error. it should send a message from template.
Actual Behavior
Email from template is not sent.
Reproducible Test Case
Template: Order Template
Used variables JSON for template:
{"orderId":2021070105,"hostname":"localhost","customer":{"company":{"name":"","id":"","vat":""},"address":{"street":"","city":"","zip":0,"country":"ÄŚeská republika"},"firstname":"Martin","lastname":"Testuje","phone":"776 837 524","email":"info@inspirell.cz"},"store.name":"podle doporuÄŤenĂ vĂ˝robce","store.address":"zatĂm neurÄŤeno, 69632 Ĺ˝dánice","customer.name":"Martin Testuje","customer.address":", 0 , ÄŚeská republika","customer.phone":"776 837 524","customer.email":"info@inspirell.cz","orderTable":"<style type=\"text/css\">\n.tg {border-collapse:collapse;border-color:#ccc;border-spacing:0;}\n.tg td{background-color:#fff;border-color:#ccc;border-style:solid;border-width:1px;color:#333;\n font-family:Arial, sans-serif;font-size:14px;overflow:hidden;padding:10px 5px;word-break:normal;}\n.tg th{background-color:#f0f0f0;border-color:#ccc;border-style:solid;border-width:1px;color:#333;\n font-family:Arial, sans-serif;font-size:14px;font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;}\n.tg .tg-h9jn{background-color:#ffffff;border-color:#9b9b9b;text-align:center;vertical-align:top}\n.tg .tg-2fdn{border-color:#9b9b9b;text-align:left;vertical-align:top}\n.tg .tg-o40d{border-color:#9b9b9b;text-align:center;vertical-align:top}\n.tg .tg-n27u{border-color:#9b9b9b;text-align:right;vertical-align:top}\n.tg .tg-g5p9{background-color:#f9f9f9;border-color:#9b9b9b;font-weight:bold;text-align:center;vertical-align:top}\n.tg .tg-m1ee{background-color:#f9f9f9;border-color:#9b9b9b;text-align:center;vertical-align:bottom}\n@media screen and (max-width: 767px) {.tg {width: auto !important;}.tg col {width: auto !important;}.tg-wrap {overflow-x: auto;-webkit-overflow-scrolling: touch;}}</style><div class=\"tg-wrap\"><table class=\"tg\" style=\"undefined;table-layout: fixed; width: 1025px\">\n<colgroup>\n<col style=\"width: 500px\">\n<col style=\"width: 60px\">\n<col style=\"width: 70px\">\n<col style=\"width: 70px\">\n</colgroup>\n<thead>\n <tr>\n <th class=\"tg-o40d\">Název</th>\n <th class=\"tg-o40d\">MnoĹľstvĂ</th>\n <th class=\"tg-o40d\">Cena</th>\n <th class=\"tg-o40d\">Celkem</th>\n </tr>\n</thead>\n<tbody><tr>\n <td class=\"tg-2fdn\"> TištÄ›nĂ˝ katalog nábytku BMB, TištÄ›nĂ˝ katalog (obj. kĂłd: KTLG)</td>\n <td class=\"tg-h9jn\">1</td>\n <td class=\"tg-o40d\">0 KÄŤ </td>\n <td class=\"tg-m1ee\">0 KÄŤ</td>\n </tr> <tr>\n <td class=\"tg-n27u\" colspan=\"3\">Suma</td>\n <td class=\"tg-g5p9\">0 KÄŤ</td>\n </tr>\n</tbody>\n</table></div>","vopUrl":"http://localhost:4200/public/00000000/obchodni_podminky.pdf"}