python报错 raise JSONDecodeError(“Expecting value“, s, err.value) from None json.decoder.JSONDecode

1、问题,程序之前写好没问题的,后面运行,显示

    raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

2、原因:

系统更新

python报错 raise JSONDecodeError(“Expecting value“, s, err.value) from None json.decoder.JSONDecode

3.使用request测试库时,检查返回的响应,最后也检查状态码