You probably aren't doing anything wrong. If you are currently training troops, you may not have room in the queue. Wait until the current troops are trained, and then try to train a new set.
If you weren't training any troops and it gave you the error that the queue is full, hit REFRESH on your browser. Most of the time, that cures all ills.
I hope this helped!