Handling your matters at a Finnish mission
You must have a valid passport or another travel document and you must reside legally in the country where you submit your residence permit application.
If you are not a citizen of the country where you submit your residence permit application, you must prove that you are staying in that country legally, as defined by the legislation of that country. Usually you can prove this by showing a residence permit or a visa. Another accepted document is a certificate of the fact that you have been registered as a refugee or as an applicant for refugee status in the country where you apply for a residence permit in Finland. This certificate must be given to you by the UNHCR or the authorities of your country of residence.
The Finnish Immigration Service cannot influence at which Finnish mission (embassy or consulate) you must handle your matter. The Finnish Ministry for Foreign Affairs makes this decision. Further information about Finnish missions is available on the websites of the Ministry for Foreign Affairs and the missions themselves. For example, citizens of Iraq and Syria should visit the website of the Embassy of Finland in Ankara.