It seems to be your fault. Most online agents have the reminder that you are responsible of all travel documents required for the destination and layover countries.
And it is common knowledge that most conutries require tranfer visas.
And it is common knowledge that most conutries require tranfer visas.