Retrieving Docs returnins nothing

I’ve used this code so I know it works but this time it’s not returning anything:

ions = ['Li', 'Na', 'K', 'Rb', 'Cs', 'Mg', 'Ca', 'Al', 'Y']

with MPRester(MY_API) as mpr:
    docs = {i: mpr.insertion_electrodes.search(working_ion = [i]) for i in ions}

Retrieving InsertionElectrodeDoc documents: 0it [00:00, ?it/s]
Retrieving InsertionElectrodeDoc documents: 0it [00:00, ?it/s]
Retrieving InsertionElectrodeDoc documents: 0it [00:00, ?it/s]
Retrieving InsertionElectrodeDoc documents: 0it [00:00, ?it/s]
Retrieving InsertionElectrodeDoc documents: 0it [00:00, ?it/s]
Retrieving InsertionElectrodeDoc documents: 0it [00:00, ?it/s]
Retrieving InsertionElectrodeDoc documents: 0it [00:00, ?it/s]
Retrieving InsertionElectrodeDoc documents: 0it [00:00, ?it/s]
Retrieving InsertionElectrodeDoc documents: 0it [00:00, ?it/s]

The sample query code posted on MP website runs fine.

Is this because the server is down or something? If so then how can one save the downloaded docs to avoid this from happening?

Hi @R_Walser, we’ve identified the issue and are working on it. Please also see here. Thanks, Patrick @munrojm

@R_Walser, this should now be fixed.

– Jason