Help with JSONDecodeError

I have this error can I be helped please. json.decoder.JSONDecodeError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).


File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/scriptrunner/", line 554, in _run_script
    exec(code, module.__dict__)File "", line 86, in <module>
    json_str = json.dumps(res.json())File "/home/appuser/venv/lib/python3.9/site-packages/requests/", line 898, in json
    return complexjson.loads(self.text, **kwargs)File "/usr/local/lib/python3.9/json/", line 346, in loads
    return _default_decoder.decode(s)File "/usr/local/lib/python3.9/json/", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())File "/usr/local/lib/python3.9/json/", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None