Using <ref name="123" /> in article namespace gives quite understandable error message: "Invalid <ref> tag; name cannot be a simple integer. Use a descriptive title" (Message MediaWiki:Cite error ref numeric key)
However if used in user namespace, like sandbox, this message is not displayed. In Latvian Wikipedia it gives "Kļūda atsaucē:" (Error in reference), in English it returns nothing at all.