In Minecraft, I made a tellraw command but it wouldn't show even though its almost exactly similar to another. Any ideas why this happens?

I made a tellraw command that is almost exactly similar to another, the command is the only difference, and I can't figure out why the command doesn't work. Any ideas why? My tellraw command:

tellraw @a {"text":"Tp all?","color":"blue","clickEvent":{"action":"run_command","value":"/tp @a 0 50 0"}}

Any ideas why this command doesn't work, if it helps, I am using 1.12 Minecraft.
Edit: my other tellraw

tellraw @a {"text":"Kill All players?","color":"green","clickEvent":{"action":"run_command","value":"/kill @a"}}

Any idea why the second tellraw appears while the top doesn't?


Solution 1:

I ran the command as it was stated in the question and it functions properly in minecraft 1.12.

I recommend using a tellraw generator. Using this one I got this command:

/tellraw @a [{"text":"Teleport All?","color":"blue","clickEvent":{"action":"run_command","value":"/tp @a 0 50 0"}}]

The tellraw generator allows you to enter text, desired color, and desired events and it produces a command which can be copied and pasted into minecraft.

The command it produces has square brackets [ ] that your command does not.

Solution 2:

Replace the parentheses by curly brackets: tellraw @a {...}