Marketo Form Error | Community
Skip to main content
Level 2
May 4, 2023
Solved

Marketo Form Error

  • May 4, 2023
  • 1 reply
  • 1978 views

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 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

Best answer by SanfordWhiteman

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

1 reply

SanfordWhiteman
Level 10
May 4, 2023

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

Level 2
May 5, 2023

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
SanfordWhitemanAccepted solution
Level 10
May 5, 2023

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