-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting HTTP Error 301: Moved Permanently #149
Comments
I am having a similar error. How should I proceed to resolve this? |
I am also facing the similar error. Please suggest way to resolve this? |
Iam getting this error HTTPError Traceback (most recent call last) 5 frames HTTPError: HTTP Error 403: Forbidden similar to yours tell me if you have resolved |
Getting same issue. Someone recommended this: https://stackoverflow.com/questions/76304936/http-error-while-accessing-the-nsetools-library-in-python Any solutions? |
Same Issue please explain why is this happening? |
I'm also getting same issue , can you anyone help on this HTTPError Traceback (most recent call last) File ~\AppData\Roaming\Python\Python311\site-packages\nsetools\nse.py:152, in Nse.get_quote(self, code, as_json) File ~\AppData\Roaming\Python\Python311\site-packages\nsetools\nse.py:138, in Nse.is_valid_code(self, code) File ~\AppData\Roaming\Python\Python311\site-packages\nsetools\nse.py:117, in Nse.get_stock_codes(self, cached, as_json) File C:\ProgramData\anaconda3\Lib\urllib\request.py:525, in OpenerDirector.open(self, fullurl, data, timeout) File C:\ProgramData\anaconda3\Lib\urllib\request.py:634, in HTTPErrorProcessor.http_response(self, request, response) File C:\ProgramData\anaconda3\Lib\urllib\request.py:557, in OpenerDirector.error(self, proto, *args) File C:\ProgramData\anaconda3\Lib\urllib\request.py:496, in OpenerDirector._call_chain(self, chain, kind, meth_name, *args) File C:\ProgramData\anaconda3\Lib\urllib\request.py:749, in HTTPRedirectHandler.http_error_302(self, req, fp, code, msg, headers) File C:\ProgramData\anaconda3\Lib\urllib\request.py:525, in OpenerDirector.open(self, fullurl, data, timeout) File C:\ProgramData\anaconda3\Lib\urllib\request.py:634, in HTTPErrorProcessor.http_response(self, request, response) File C:\ProgramData\anaconda3\Lib\urllib\request.py:557, in OpenerDirector.error(self, proto, *args) File C:\ProgramData\anaconda3\Lib\urllib\request.py:496, in OpenerDirector._call_chain(self, chain, kind, meth_name, *args) File C:\ProgramData\anaconda3\Lib\urllib\request.py:749, in HTTPRedirectHandler.http_error_302(self, req, fp, code, msg, headers)
File C:\ProgramData\anaconda3\Lib\urllib\request.py:749, in HTTPRedirectHandler.http_error_302(self, req, fp, code, msg, headers) File C:\ProgramData\anaconda3\Lib\urllib\request.py:525, in OpenerDirector.open(self, fullurl, data, timeout) File C:\ProgramData\anaconda3\Lib\urllib\request.py:634, in HTTPErrorProcessor.http_response(self, request, response) File C:\ProgramData\anaconda3\Lib\urllib\request.py:557, in OpenerDirector.error(self, proto, *args) File C:\ProgramData\anaconda3\Lib\urllib\request.py:496, in OpenerDirector._call_chain(self, chain, kind, meth_name, *args) File C:\ProgramData\anaconda3\Lib\urllib\request.py:738, in HTTPRedirectHandler.http_error_302(self, req, fp, code, msg, headers) HTTPError: HTTP Error 301: The HTTP server returned a redirect error that would lead to an infinite loop. print(q) |
I was trying to use nsetools api to fetch indian stocks historical data, but getting this error.
Is nsetools still running or being discontinued for free usage?
🆘 need suggestions and help..
The text was updated successfully, but these errors were encountered: