title: Can't run python script getting error urllib error 403
body: <p>Can't run python script getting error urllib error 403.Can you help me please with this code. i can't find error. Worked good, but now it's not working.</p>
  
  <pre><code>import urllib
  import urllib.parse
  import urllib.request
  import requests
  import ssl
  url = "https://www.proovl.com/api/send.php?"
  params = {
  'user': "1212",
  'token': "121",
  'from': "3333333",
  'to': "444444444",
  'text': "text"}
  try:
      _create_unverified_https_context = ssl._create_unverified_context
  except AttributeError:
      pass
  else:
      ssl._create_default_https_context = _create_unverified_https_context
  query_string = urllib.parse.urlencode(params)
  http_req = url + query_string
  f = urllib.request.urlopen(http_req)
  freq = (f.read().decode('utf-8'))
  x = freq.split(";")
  g = x[1].replace("\"","")
  y = x[0].replace("\"","")
  if x[0] == "Error":
    print("Error message: ",x[1])
  else:
    print("Message ID: ",x[1])
  f.close()
  </code></pre>
  
  <p>error: is this problem with SSL?</p>
  
  <pre><code>    f = urllib.request.urlopen(http_req)
    File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 222, in urlopen
      return opener.open(url, data, timeout)
    File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 531, in open
      response = meth(req, response)
    File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 641, in http_response
      'http', request, response, code, msg, hdrs)
    File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 569, in error
      return self._call_chain(*args)
    File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
      result = func(*args)
    File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 649, in http_error_default
      raise HTTPError(req.full_url, code, msg, hdrs, fp)
  urllib.error.HTTPError: HTTP Error 403: Forbidden
  </code></pre>