Hey Everyone,
Running into an issue where we are using a Marketo form and the data is be submitted correctly via the API. However, leads are not populated in Marketo upon submitting the form.
Using the javascript console we can see the API is working as intended (status code: 200) We are not hitting our daily API threshold so I am not sure what can be causing the issue. Any insight is greatly appreciated.
Solved! Go to Solution.
OK. Your form is not using the Forms API (it's loading the Marketo Forms 2.0 library but not using it). It's posting to your own proprietary API endpoint on your server, which presumably then uses the REST API to post. The form data is reaching your server, but if there's a problem between your private code and Marketo that isn't something we can possibly see or troubleshoot.
Note this architecture is horrible from a security and scaleability standpoint. I don't think it was adequately thought through.