We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac6cd69 commit bcc977eCopy full SHA for bcc977e
mp_api/client/core/client.py
@@ -994,8 +994,9 @@ def _submit_request_and_process(
994
)
995
996
if response.status_code in [400]:
997
- warnings.warn(
998
- f"The server does not support the request made to {response.url}. This may be due to an outdated mp-api package, or a problem with the query."
+ raise MPRestError(
+ f"The server does not support the request made to {response.url}. "
999
+ "This may be due to an outdated mp-api package, or a problem with the query."
1000
1001
1002
if response.status_code == 200:
0 commit comments