When using the command:
/advancement grant @p */advancement grant @p *No error message is shown, however when using
/advancement grant @p * */advancement grant @p * *It says that * is not an advancement.
Expected: both show the error (there's currently no * usage in /advancement).
To fix that use full path to the advancement. Example: advancement grant @p minecraft:story/shiny_gear