# 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:** 1\
**Showing post:** 2

<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.

---

_[View the full topic](https://community.thunkable.com/t/thunkable-x-got-the-message-internal-error-generating-code-please-notify-thunkable-support/55368)._
