Corrupted Files
Check for errors in elead input
vitalsigns@vitalsigns1:~/input/callcenter/elead/errors$ ls -alht | head -20
-rw-rw-r-- 1 vitalsigns vitalsigns 36M Jul 19 2022 outbound_20220719.json
[...]
If there's a file from today, you need to check for some common errors:
Missing { or }
Identify if there's one line that does not start with "{" or does not end with "}".
vitalsigns@vitalsigns1:~/input/callcenter/elead/errors$ cat outbound_20220719.json | grep -v '^{.*}$'^C
If so, delete that line from the file and replace the file with that same name on archives:
vitalsigns@vitalsigns1:~/input/callcenter/elead/errors$ nano outbound_20220719.json
vitalsigns@vitalsigns1:~/input/callcenter/elead/errors$ rm ~/archive/callcenter/elead/outbound_20220719.json
vitalsigns@vitalsigns1:~/input/callcenter/elead/errors$ cp outbound_20220719.json ~/archive/callcenter/elead/