Lately they got more strict with giving visas to foreigners. You need a plane or a bus ticket which proofs that you are leaving the country. If you want a 3 month Visa make sure the exit ticket is booked in the third month. If not they give you 30-60 days only.
Read more here.