It is very explicit and thoroughly mention on most Thai Embassy websites, that the Passport information has to be EXACT as in the passport, and if not it will be rejection and loss of visafee.
So you only have you self to blame for that rejection.
There are lot of previous experiences in the previous posts of the group, take advantage of those first.
And Tha Thai Embassy website is a must-read.
Ansøg i Danmark, så er der langt større chance for at dokumentationen godkendes første gang, og der skal ikke betales for et måske månedlangt ophold i et 3. land.