In the 18th century spelling reform, Anna was shortened to Aña which of course is pronounced differently from Ana. /s
If it makes you feel any better, if you translate the Finnish pronoun of hän, to they. Duolingo will fail you because the correct answer is to use ETHER he or she. Which one though doesn't matter and you are free to change it the next time the question comes around.
This is an audio prompt which you must listen to and then type. OP correctly typed the sentence but didn't know how the speaker prefers to spell their name and so it was marked incorrect.
Oh no, now you won't pass this semester!
Also - now you'll learn spanish versions of American names!?
Argh!!!