Problem with MPDataRetrieval cutting connection to Materials Project when starting data retrieval

Hi,

My code block to retrieve material properties from MP is:

mpIDs = list(data.index.str.strip())
propsbyID = []
for mpid in mpIDs:
print(mpid)
propsbyID.append(MPDataRetrieval(mpkey).get_dataframe
(criteria=mpid,properties=[‘structure’,‘formula’,‘energy’,‘energy_per_atom’,‘volume’,‘formation_energy_per_atom’,
‘density’,‘e_above_hull’],index_mpid=True))

i.e. it pulls properties for my list of materials I need. Unfortunately, 1) it has recently started to take a much longer time for >300 materials (~15 minutes) and 2) it seems to cut connection sometimes resulting in an error:

Has anyone experienced an error like this before with MPDataRetrieval? Is this too much of a load on the MP DB?

Thanks for any help in advance.

Hey Syd,

Are you still having problems using MPDataRetrieval now? There was some maintenance being done on the MP DB around this time.

Thanks,
Alex