onBeforeFormInit event intermittently not firing in forms api

We include Hubspot forms on our website via the

hbspt.forms.create()

API call. In that call, we use the event

onBeforeFormInit

to detect when the form is ready to display so that we don’t show an empty form while it is loading. Recently, without any code change on our part, that event has stopped firing. The result of this for us is that the form is never deemed “ready” and so is never displayed. This behavior was first noticed yesterday, then it seemed to be solved this morning for me, and now it’s failing again as I write this. Is there a change on your end that could be causing this? Is this an incorrect way to use your API? I’m open to suggestions if we should do something differently, or if it’s a problem on your end, I want to make sure you know about it. These forms are mission-critical to our business, so any help would be appreciated!

Hi, @RDickert :waving_hand: Thanks for reaching out. From my end, there are not any major or breaking changes to the forms endpoints, outside the HAPI key sunset itself.

Can you provide a link to any of your forms? Or provide any additional details? The community can help more often when it has details to work from.

Thank you for the information! — Jaycee