with MPRester(api_key) as mpr:
chgcar = mpr.get_charge_density_from_material_id("mp-149")
MPRestError: REST query returned with error status code 403 on URL https://api.materialsproject.org/charge_density/?task_ids=mp-655585&task_ids=mp-1057373&task_ids=mp-1059589&task_ids=mp-1440634&task_ids=mp-1791788&_limit=10&_fields=last_updated%2Ctask_id%2Cfs_id with message:
Response {
"message":"You cannot consume this service"
}
Sort of a bump to Can't access charge density · Issue #631 · materialsproject/api · GitHub
This is the example from the docs