In English one asks "what's your name?"(the same pattern in my mother language) but why german uses "wie" i.e. "how", this question word seems to me fine when asking one's age, but to get information about proper nouns why this is different than other languages?
With asking: "wie weißt du?" I understand: "how are you called?" i.e. my name is X,but they call me Y, so like a nickname and in this case personal pronoun must be accusative rather than nominative.
In another example if use "was" would it be wrong and how do categorize this error?
Beatrix, weißt du was der Schauspieler in Casablanca heißt?
As a result why the question "was ist dein Name" is wrong?