Up API to 1.4.0.
Add length check for opening tickets.