https://discord.gg/botpress logo
Wheres best to add issue tickets? There seems to...
# 💻developers
d
Wheres best to add issue tickets? There seems to be an issue with the conditions in the transition tool whereby it trims the conditions when attempting to run them, but not when saving the strings, so if you leave a space at the end of a condition, you get the following union error where the strings don't exactly match (one has a space at the end and the other has been trimmed automatically) CodeExecutionError: [ { "code": "invalid_union", "unionErrors": [ { "issues": [ { "received": "when issue has been diagnosed and the user wants to book a job.", "code": "invalid_literal", "expected": "when issue has been diagnosed and the user wants to book a job. ", "path": [ "condition" ], "message": "Invalid literal value, expected \"when issue has been diagnosed and the user wants to book a job. \"" } ], "name": "ZodError" }, { "issues": [ { "received": "when issue has been diagnosed and the user wants to book a job.", "code": "invalid_literal", "expected": "when issue has been diagnosed and user wants to fix it themselves.", "path": [ "condition" ], "message": "Invalid literal value, expected \"when issue has been diagnosed and user wants to fix it themselves.\"" } ], "name": "ZodError" } ], "path": [ "condition" ], "message": "Invalid input" } ]