Hi in my app https://share.streamlit.io/stockmaniacs/orbpython/main/ORB.py I am getting the folloring error.
requests.exceptions.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).
Traceback:
File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 430, in _run_script
exec(code, module.__dict__)File "/app/orbpython/ORB.py", line 19, in <module>
gainers = nse_get_top_gainers()File "/home/appuser/venv/lib/python3.7/site-packages/nsepython/rahu.py", line 439, in nse_get_top_gainers
positions = nsefetch('https://www.nseindia.com/api/equity-stockIndices?index=SECURITIES%20IN%20F%26O')File "/home/appuser/venv/lib/python3.7/site-packages/nsepython/rahu.py", line 38, in nsefetch
output = s.get(payload,headers=headers).json()File "/home/appuser/.conda/lib/python3.7/site-packages/requests/models.py", line 917, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
My github repositary is at https://github.com/stockmaniacs/orbPython
This code is running fine in my local machine. Can someone plz help?