If the xlate works in xlatetest, but not routetest have you verified your Tcl procs to see if it is actually them kicking the errors (especially if you use GRM commands)?
Also, have you made sure you have the correct xlate file specified in your route, I know it’s kinda obvious but it happens.
Based, on your whole message I really think you have the wrong xlate file specified in the route detail, and/or the message is hitting a different route detail than you think.