So that if you call this method, it will throw this exception: *** requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)" Even the request is succeed.