title: The discord register system with Python gives an error "Invalid-response"
body: <p>I am trying to create a discord register system via Python. But hCaptcha gives the &quot;Invalid-response&quot; error.</p>
  <p>Is Discord the real cause of this problem or is there a different factor?</p>
  <pre><code>from anticaptchaofficial.hcaptchaproxyless import *
  import requests
  import config
  
  solver = hCaptchaProxyless()
  solver.set_verbose(1)
  solver.set_key(config.KEY)
  solver.set_website_url(&quot;https://discord.com/register&quot;)
  solver.set_website_key(&quot;4c672d35-0701-42b2-88c3-78380b0db560&quot;)
  solver.set_user_agent(config.MY_USER_AGENT)
  
  solver.set_soft_id(0)
  
  g_response = solver.solve_and_return_solution()
  if g_response != 0:
      print(&quot;g-response: &quot;+g_response)
  else:
      print(&quot;task finished with error &quot;+solver.error_code)
  
  register_url = &quot;https://discord.com/api/v9/auth/register&quot;
  payload = {
      &quot;fingerprint&quot;:&quot;&quot;,
      &quot;email&quot;:&quot;@gmail.com&quot;,
      &quot;username&quot;:&quot;&quot;,
      &quot;password&quot;:&quot;&quot;,
      &quot;invite&quot;:&quot;null&quot;,
      &quot;consent&quot;:&quot;true&quot;,
      &quot;date_of_birth&quot;:&quot;1990-01-01&quot;,
      &quot;gift_code_sku_id&quot;:&quot;null&quot;,
      &quot;captcha_key&quot;:g_response,
      &quot;promotional_email_opt_in&quot;:&quot;false&quot;
      }
  r = requests.post(register_url,json=payload)
  print(r.text)```
  </code></pre>