After playing around with some other commands, I've learned that it's just in general whenever I try and use @p, @a, or @e, it doesn't seem to work.
I tried /give @a, and it told me "Error: Unspecified player." When I changed it to my username, it worked. I don't know what's going on.