Elastic Search hqusers Index

Hi All,
I ran cchq echis django-manage ptop_reindexer_v2 user --cleanup to re-populate users, but the following error is appearing.
Any suggestion please.

Traceback (most recent call last):
File "/home/cchq/www/echis/releases/2023-02-20_07.58/manage.py", line 189, in
main()
File "/home/cchq/www/echis/releases/2023-02-20_07.58/manage.py", line 47, in main
execute_from_command_line(sys.argv)
File "/home/cchq/www/echis/releases/2023-02-20_07.58/python_env/lib/python3.9/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/home/cchq/www/echis/releases/2023-02-20_07.58/python_env/lib/python3.9/site-packages/django/core/management/init.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/cchq/www/echis/releases/2023-02-20_07.58/corehq/apps/hqcase/management/commands/ptop_reindexer_v2.py", line 68, in run_from_argv
super(SubCommand, self).run_from_argv(argv)
File "/home/cchq/www/echis/releases/2023-02-20_07.58/python_env/lib/python3.9/site-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/cchq/www/echis/releases/2023-02-20_07.58/python_env/lib/python3.9/site-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
File "/home/cchq/www/echis/releases/2023-02-20_07.58/corehq/apps/hqcase/management/commands/ptop_reindexer_v2.py", line 140, in handle
reindexer.reindex()
File "/home/cchq/www/echis/releases/2023-02-20_07.58/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 277, in reindex
processor.run()
File "/home/cchq/www/echis/releases/2023-02-20_07.58/corehq/util/doc_processor/interface.py", line 119, in run
for doc in self.document_iterator:
File "/home/cchq/www/echis/releases/2023-02-20_07.58/corehq/util/doc_processor/couch.py", line 79, in iter
for result in super(ResumableDocsIterator, self).iter():
File "/home/cchq/www/echis/releases/2023-02-20_07.58/corehq/util/pagination.py", line 263, in iter
for item in paginate_function(self.data_function, resumable_args, event_handler):
File "/home/cchq/www/echis/releases/2023-02-20_07.58/corehq/util/pagination.py", line 158, in paginate_function
event_handler.page_end(total_emitted, datetime.utcnow() - start_time, *args, **kwargs)
File "/home/cchq/www/echis/releases/2023-02-20_07.58/corehq/util/pagination.py", line 72, in page_end
handler.page_end(total_emitted, duration, *args, **kwargs)
File "/home/cchq/www/echis/releases/2023-02-20_07.58/corehq/util/doc_processor/interface.py", line 151, in page_end
processor.process_chunk()
File "/home/cchq/www/echis/releases/2023-02-20_07.58/corehq/util/doc_processor/interface.py", line 195, in process_chunk
ok = self.doc_processor.process_bulk_docs(self.changes, self.progress.logger)
File "/home/cchq/www/echis/releases/2023-02-20_07.58/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 211, in process_bulk_docs
change = self._doc_to_change(doc) # de-dupe the is_deletion check
File "/home/cchq/www/echis/releases/2023-02-20_07.58/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 236, in _doc_to_change
return Change(id=doc['_id'], sequence_id=None, document=doc,
TypeError: 'NoneType' object is not subscriptable
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit