I had a large area to fill in with granite blocks, but it would take hours to fill. So I tried using the id for it, which is minecraft:granite, but it said that it was a syntax error. I was getting very frustrated because of that error.
Comments 4
To elaborate, stone variants are treated the same way as, say, wool or concrete colors. They're the same block (in this case stone) with a hidden value that changes behavior
If you want to give yourself granite in Bedrock Edition, its /give @s stone 1 1, as opposed to Java Edition, which is just /give @s granite. The data value for granite is 1.