Validate a locally saved copy before importing or publicly uploading a chat export. Parsing checks syntax. Once it succeeds, check whether the data contains the conversation and fields you actually need.
Try a harmless example first
A small valid example is {"messages":[{"role":"user","text":"Check the map"}]}. Adding a trailing comma after the final array item would break JSON syntax. A local tool such as Python’s python -m json.tool copy.json can parse a file when Python is already installed. Run it locally, since it may print the file’s contents.

Check the shape as a separate step
A valid file can still use a different field name or contain empty records. Look for a few expected messages and identify their speaker and fields. Preserve the source unchanged and keep the validation output private. If a file is too sensitive to print, use a local tool or redirect results into a private file.