materialsproject / api

New API client for the Materials Project
https://materialsproject.github.io/api/
Other
104 stars 38 forks source link

MPRester not working #801

Closed drakeyu closed 1 year ago

drakeyu commented 1 year ago

Hi,

I recently cannot use MPRester from either mp_api.client or pymatgen.ext.matproj.

the error is following: MPRestError: REST query returned with error status code 404 on URL https://api.materialsproject.org/thermo/?thermo_types=GGA_GGA%2BU&_fields=entries&chemsys=O&_limit=143 with message: Response {"message":"no Route matched with those values"}

It's been couple days since the last time it was working. Is there any specific update from your end so I suddenly cannot use? Thanks in advance!

munrojm commented 1 year ago

If you update the client it will work: pip install mp-api --upgrade

keeganq commented 1 year ago

I was having the same error and the upgrade worked for me!

drakeyu commented 1 year ago

Thanks! It works now.