Not getting form data (using API endpoint)

We have this hubspot script to submit data to your API endpoint. This hubspot form has “Automations” going in the hubspot backend as well. So when they submit this form, they are automatically be redirected into our deposit page where they can deposit an initial amount. The issue is, “sometimes”, we are not getting the data from the form. However, the users are able to deposit an amount, which means, they did actually submit the form.
We’re still trying to replicate if there’s a timeout on the form as we are using an iframe to hookup our script into another domain. Say, example.com/page has an iframe that includes the scripts (anotherdomain.com). The reason why we’re thinking about the timeout is that, users take so much time before they submit the form because our form is a 3D configurator.

Edit: We weren’t using the API endpoint.

@my_hubspot_2025 - It’s difficult to assess this with the limited context. But in my own manipulation of HubSpot form embed and associated JS code, I have found that it is critical to define the form as Raw HTML to avoid the iFrame limitations.

Is this what you have done?

Steve

We haven’t tried your suggestion yet but we’re testing of disabling captcha for now and see how it goes. Not sure if removing/disabling the captcha will do the work but if anything doesn’t go right, we’ll get the raw code instead.