JSON parse error

When parsing files containing JSON lines during a query, I am recieving the following error:
Error parsing JSON - Illegal character ((CTRL-CHAR, code 0)): only regular white space (\r, \n, \t) is allowed between tokens

Is there a workaround for this? NB. I had to set store.json.all_text_mode for the dataset to be accepted.


Does the JSON contain sensitive data? Are you able to share a sample?

I could not sanitise the whole lot, but I can do a small sample, will post back when I have done.
Is there a way to enhance the logging to diagnose the error?