You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We sometimes observed https://api.materialsproject.org/heartbeat responds a 403 error, then mp-api just raises JSONDecodeError.
It would be nice to show users a 403 error, and what could happen such as rate limit or something.
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
We sometimes observed https://api.materialsproject.org/heartbeat responds a 403 error, then mp-api just raises JSONDecodeError.
It would be nice to show users a 403 error, and what could happen such as rate limit or something.
refs:
https://matsci.org/t/pymatgen-ext-matproj-mpresterror-rest-query-returned-with-error-status-code-403-content-berror-code-1020/47992
https://matsci.org/t/mpresterror-rest-query-returned-with-error-status-code-403/792
The text was updated successfully, but these errors were encountered: