RpgMaker Mv Map.json error

i made a random tp events in some maps of my game, sometimes the random tp doesn't work correctly and this appears when i test the game.
image_2022-08-16_231206054.png

I am very new to rpgmaker, and to computers as well. but I learn fast, I would be very grateful for your help. I will also leave screenshots of how that random tp event works in case that is the fault as well as the list of variables.

Captura de pantalla (94).png
image_2022-08-16_231031625.png
Well, it means you're telling it to transfer to map 23, and it can't find a map 23. Look in your data folder and see how many maps you have there.
having the map id be a random number between 21 and 30 means that this can only work if all ten maps with those IDs exist.
If you never made those maps or if you made and then deleted one - both cases will result in that error.

even if you rename maps, you can still see their ID at the bottom status line.

Original thread: https://forums.rpgmakerweb.com/threads/rpgmaker-mv-map-json-error.150515/