Error Uncaught SyntaxError: Unexpected end of JSON input

1753555572694.png
What do I do????
RPGMMV
1. open the json file in an editor like Notepad++
2. make sure all of the brackets/braces/parenthesis are closed (each one is paired with another)
3. the file is malformed or incomplete in some way -- you just have to find where that's happening and fix it
show console log to figure out the issue where its coming from.
if you made a notetag type or param issue, it could be seen in the console log.

that line only tells you made a typo somewhere.
If you're not sure which file is the problem:
  1. When the error happens, press F12 to show the dev tools window.
  2. Select the Console tab in that window.
  3. Share a screenshot of the error message(s) there. Errors show in red text.
Like ShadowDragon said, the console errors have more info.

(This sort of thing can happen if your computer suddenly turns off while you're using RPG Maker. If that happened to you, then some of your project files might be corrupted.)
If you're not sure which file is the problem:
  1. When the error happens, press F12 to show the dev tools window.
  2. Select the Console tab in that window.
  3. Share a screenshot of the error message(s) there. Errors show in red text.
Like ShadowDragon said, the console errors have more info.

(This sort of thing can happen if your computer suddenly turns off while you're using RPG Maker. If that happened to you, then some of your project files might be corrupted.)
Every JSON file was corrupted.
Luckily I could fix it by grabbing all the JSON files from another project minus the maps and planting it into this one.
I just started so I haven't been able to make copies yet.

Original thread: https://forums.rpgmakerweb.com/threads/error-uncaught-syntaxerror-unexpected-end-of-json-input.179179/