# Thunkable X: Got the message "Internal error generating code. Please notify Thunkable support"

**URL:** <https://community.thunkable.com/t/thunkable-x-got-the-message-internal-error-generating-code-please-notify-thunkable-support/55368>\
**Category:** Questions about Thunkable X\
**Created:** [November 6, 2018, 9:40pm UTC](https://community.thunkable.com/t/thunkable-x-got-the-message-internal-error-generating-code-please-notify-thunkable-support/55368 "2018-11-06T21:40:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Rogulla](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@Michael\_Rogulla](https://community.thunkable.com/u/Michael_Rogulla)\
**Post date:** [November 6, 2018, 9:40pm UTC](https://community.thunkable.com/t/thunkable-x-got-the-message-internal-error-generating-code-please-notify-thunkable-support/55368/1 "2018-11-06T21:40:05Z")

</div>

I got the mentioned message using Thunkable X. I cannot add a marker to a map. What can I do about that?

 ![Internal%20error%20generating%20code](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/8/9807edee0b0d717597e002dc94fbf984d0902a82.png)

---

<div class="post-metadata">

**Author:** ![rescondio](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@rescondio](https://community.thunkable.com/u/rescondio)\
**Post date:** [November 6, 2018, 11:31pm UTC](https://community.thunkable.com/t/thunkable-x-got-the-message-internal-error-generating-code-please-notify-thunkable-support/55368/2 "2018-11-06T23:31:17Z")

</div>

Hello Michael,

It seems the same issue as this one:

> [@Internal error when adding polyline from variables](http://community.thunkable.com/t/internal-error-when-adding-polyline-from-variables/54283):
>
> Hello, I am trying to create a route in a map in Thunkable X by gathering coordinates every N seconds, and then painting a polyline on the map. However, I’ve found that when I use variables inside the “addPolyline” method, I always get an internal error. Please see screenshot below: I can create a list from variables, but the error happen when assigining it to addPolyline. Things I’ve tried before posting: The one on the screenshot. Creating a local variable with the fie…

It seems it will be fixed in next release. In the meantime, I’d suggest you to wrap your marker code in a function and then use the function variables to pass the value.

---

<div class="post-metadata">

**Author:** ![Michael\_Rogulla](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@Michael\_Rogulla](https://community.thunkable.com/u/Michael_Rogulla)\
**Post date:** [November 7, 2018, 11:31am UTC](https://community.thunkable.com/t/thunkable-x-got-the-message-internal-error-generating-code-please-notify-thunkable-support/55368/3 "2018-11-07T11:31:57Z")

</div>

ok thanx. I put the “addMarker” inside a function, and now it works!

---

<div class="post-metadata">

**Author:** ![sohalia.yogetx](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@sohalia.yogetx](https://community.thunkable.com/u/sohalia.yogetx)\
**Post date:** [September 4, 2020, 4:14am UTC](https://community.thunkable.com/t/thunkable-x-got-the-message-internal-error-generating-code-please-notify-thunkable-support/55368/4 "2020-09-04T04:14:03Z")

</div>

Hi, I am making a Chat App and I got an “Internal error generating code for blocks”. This is the first time I have gotten this message and Thunkable send to the support, so guys please fix this problem or at least let me know what it is. Hope I get a reply by today.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:54am UTC](https://community.thunkable.com/t/thunkable-x-got-the-message-internal-error-generating-code-please-notify-thunkable-support/55368/5 "2024-11-08T11:54:47Z")

</div>


