APIs & Integrations

RHassan
メンバー

Couldnt Find Target Container

解決

the issue is that the console shows an error "Couldn't find target container #contactus for HubSpot Form f2813e10-e6d8-4ece-a0e1-6699178eca69. Not rendering form onto the page f @ shell.js:1 " and if I refresh the page it loads up fine but not on the first load.

 

 

the form is here, https://share.hsforms.com/18oE-EObYTs6g4WaZF47KaQ529gq 

 

 

 

best

Raza

0 いいね!
1件の承認済みベストアンサー
RHassan
解決策
メンバー

Couldnt Find Target Container

解決

Hi @dennisedson ,

 

Thank you. I found a fix, I just pivoted to using the following package

 
import HubspotForm from 'react-hubspot-form'
 
and just put the form id and portal id into it and it works great now.
 
Thank you
 
Raza
 

元の投稿で解決策を見る

2件の返信
RHassan
解決策
メンバー

Couldnt Find Target Container

解決

Hi @dennisedson ,

 

Thank you. I found a fix, I just pivoted to using the following package

 
import HubspotForm from 'react-hubspot-form'
 
and just put the form id and portal id into it and it works great now.
 
Thank you
 
Raza
 
dennisedson
HubSpot製品開発チーム
HubSpot製品開発チーム

Couldnt Find Target Container

解決

Hi @RHassan 

Welcome to the Community!

Where are you experiencing  this issue?

Two things come to mind without having more details

1.  Trying to edit the embed code, but not on a subscription tier that allows it.  Similar issue here

2.  Rendering issue on external, non HubSpot page.  Solution here

 

 

0 いいね!