SOLVED

Re: Marketo Form Error

Go to solution
amarb
Level 2

Marketo Form Error

I am trying to submit a form from AEM but when i submit a form receiving 400 error. Below details

<section id="marketoForm">

      <script src="//abc.xyz.com/js/forms2/js/forms2.min.js"></script>

    <form id="mktoForm_1002"></form>

    <script>MktoForms2.loadForm("//abc.xyz.com", "account_Id", 1002);</script>

</section>

 

 

POST https://abc.xyz.com/index.php/leadCapture/save2 400

 

send

@

forms2.min.js:7

 

ajax

@

forms2.min.js:7

 

(anonymous)

@

XDFrame:42

 

dispatch

@

forms2.min.js:6

 

q.handle

@

forms2.min.js:6

 

postMessage (async)

   
 

h

@

forms2.min.js:4

 

i

@

forms2.min.js:4

 

n.send

@

forms2.min.js:4

 

U

@

forms2.min.js:4

 

c

@

forms2.min.js:4

 

(anonymous)

@

forms2.min.js:4

 

Promise.then (async)

   
 

then

@

recaptcha__en.js:277

 

(anonymous)

@

forms2.min.js:4

 

setTimeout (async)

   
 

(anonymous)

@

recaptcha__en.js:118

 

(anonymous)

@

recaptcha__en.js:439

 

V

@

forms2.min.js:4

 

dispatch

@

forms2.min.js:6

 

q.handle

@

forms2.min.js:6

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo Form Error

You’d have to share a URL for us to help with this.

View solution in original post

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo Form Error

Please link to your page so we can reproduce the issue.

amarb
Level 2

Re: Marketo Form Error

Thank you, however I'm afraid I'm unable to share any links, i think the issue was caused because captcha was enabled after disabling captcha the submission is working. But i need to figure out now why Captcha is giving problem. 

SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo Form Error

You’d have to share a URL for us to help with this.