ArchiveQuery gives 'JSONDecodeError'

Running the following:

from nomad.client import ArchiveQuery
required= {
    'section_run' : '*'
}

query = {
    'domain': 'dft',
    'dft.system': 'bulk',
    'dft.optimade.nelements': '3',
    'dft.code_name': 'VASP',
    'dft.xc_functional' : 'GGA',
    'dft.searchable_quantities': ['electronic_dos'],
    'atoms': ['Ga', 'As']
}

query_GaAs_alloy = ArchiveQuery(query =  query,
                                 required = required,
                                 per_page=1000,
                                 parallel=1,
                                 max=20000)

print(query_GaAs_alloy)

gives the error:

JSONDecodeError: Expecting value: line 72756353 column 22 (char 2621697855)