# Problem with coded component recources in coded component

**URL:** <https://community.appfarm.io/t/problem-with-coded-component-recources-in-coded-component/215>\
**Category:** Ask the community\
**Tags:** coded-component\
**Created:** [January 24, 2023, 3:38pm UTC](https://community.appfarm.io/t/problem-with-coded-component-recources-in-coded-component/215 "2023-01-24T15:38:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fridtjof](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/fridtjof/32/262_2.png) [@Fridtjof](https://community.appfarm.io/u/Fridtjof)\
**Post date:** [January 24, 2023, 3:38pm UTC](https://community.appfarm.io/t/problem-with-coded-component-recources-in-coded-component/215/1 "2023-01-24T15:38:22Z")

</div>

Hi.

I have an issue that is quite wierd. A coded component in our main app is not working with a certain resource, while it is working. I have (hopefully) found a hack by opening a link to another app in the same solution, where the coded component is working find. IFrame did not work for the same reason. Seems that there might be some kind of wierd bug in the main app.

Picture is the function that does not work in the main app.

Might there be some kind of difference between the apps that could be causing this?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/147c887d25da02eb5a27dd91516c4835506dddbe.png)

![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/902e01a9b3e3b0381c60e4e89485395ce7c3271f.png)

Best Regards,  
Fridtjof

---

<div class="post-metadata">

**Author:** ![Fridtjof](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/fridtjof/32/262_2.png) [@Fridtjof](https://community.appfarm.io/u/Fridtjof)\
**Post date:** [January 24, 2023, 3:38pm UTC](https://community.appfarm.io/t/problem-with-coded-component-recources-in-coded-component/215/2 "2023-01-24T15:38:47Z")

</div>

chart.getSVG() is the function that does not work

---

<div class="post-metadata">

**Author:** ![timkurvers](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/timkurvers/32/71_2.png) [@timkurvers](https://community.appfarm.io/u/timkurvers)\
**Post date:** [February 16, 2023, 12:09pm UTC](https://community.appfarm.io/t/problem-with-coded-component-recources-in-coded-component/215/3 "2023-02-16T12:09:22Z")

</div>

Apologies for the late response.

Could you verify that the external resources load correctly? Check both within dev tools as well as the browser network pane / console for any failure or error messages.
