Skip to content

urllib.error.HTTPError: HTTP Error 404: Not found #12

@deepashree01

Description

@deepashree01

Traceback (most recent call last): File "C:/Users/.../Python37/ client3.py",
line 54, in
quotes= json.loads(urllib.request.urlopen(QUERY.format(random.random())).read())
File "C:\Users...\Python37\lib\urllib\request.py"", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Users...\Python37\lib\urllib\request.py"", line 531, in open
response = meth(req, response)
File "C:\Users...\Python37\lib\urllib\request.py"", line 641, in http_response 'http',
request, response, code, msg, hdrs)
File "C:\Users...\Python37\lib\urllib\request.py"", line 569, in error
result = self._call_chain(*args)
File "C:\Users...\Python37\lib\urllib\request.py"", line 503, in _call_chain
result = func(*args)
File "C:\Users...\Python37\lib\urllib\request.py", line 649, in in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

I got this error while trying to run, currently using python 3.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions