UnknownFormatError: top-level JSON value is a non-OCDS object
File "process/management/commands/file_worker.py", line 81, in callback
upgraded_collection_file_id = process_file(collection_file)
File "process/management/commands/file_worker.py", line 122, in process_file
data_type = _get_data_type(collection_file)
File "process/management/commands/file_worker.py", line 157, in _get_data_type
detected_format, is_concatenated, is_array = detect_format(collection_file.filename)
Source moldova yields an unknown or unsupported format, skipping
This logic:
Needs to not only be on
parse_list
butparse
as well.It caused 35k errors in Sentry.
UnknownFormatError: top-level JSON value is a non-OCDS object
Sentry Issue: REGISTRY-KINGFISHER-PROCESS-9C