title: mailgun Error":"exposed account credentials
body: <p>I am attempting to validate an email but when I follow the mailgun docs and have code such as follows</p>
  
  <p><a href="https://documentation.mailgun.com/en/latest/user_manual.html#email-validation" rel="noreferrer">https://documentation.mailgun.com/en/latest/user_manual.html#email-validation</a></p>
  
  <pre><code>EMAILPUBLICVALIDATIONKEY = 'my sexy key'
  
  def validateemail(emailaddress):
      return requests.get(
          "https://api.mailgun.net/v3/address/validate",
          auth=("api", EMAILPUBLICVALIDATIONKEY ),
          params={'address': emailaddress}
      )
  </code></pre>
  
  <p>I get the response</p>
  
  <pre><code>["{"Error":"exposed account credentials"}"]0: "{"Error":"exposed account credentials"}"length: 1__proto__: Array(0)
  </code></pre>