Forum Discussion
Issue with Frontend Server Setup – "Empty iframeId" Error in Workload Development Kit
- 1 year ago
Hi Ashwath_Bala_S,
Thank you for confirming that you are using the WDK to build a workload that integrates with power bi.
The error here likely occurs when the frontend is run outside of the expected WDK host environment and the SDK is unable to retrieve the iframeId needed for initialization and context. Please follow below steps:
- Do not run the frontend directly in the browser, make sure you are launching your app through the WDK host or simulator, rather than directly accessing it from the browser.
- Ensure that your frontend code includes an initialize() call from the SDK like somewhere in the startup code this should present. This ensures the SDK receives context values like iframeId.
If this post helps in resolving the issue, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
Hi Team,
I also facing same issue.
I have configured front-end and backend as mentioned into Workload development kit document and working fine but while start front-end app (React) It gives error as mentioned into attached file
Thank you in advance for your support.