# Import Test Data - JSON as string

**URL:** <https://community.mindstudio.ai/t/import-test-data-json-as-string/989>\
**Category:** Support\
**Created:** [May 26, 2025, 12:07pm UTC](https://community.mindstudio.ai/t/import-test-data-json-as-string/989 "2025-05-26T12:07:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkermen](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/bkermen/32/1287_2.png) [@bkermen](https://community.mindstudio.ai/u/bkermen)\
**Post date:** [May 26, 2025, 12:07pm UTC](https://community.mindstudio.ai/t/import-test-data-json-as-string/989/1 "2025-05-26T12:07:58Z")

</div>

I’m not sure if this is the expected behavior; but when I “Import Test Data” I get something like this:

```auto
vars = {
...,
  companyInfo: '{\n "mission": "Not found in search results",\n "vision": "Elevate your tech career WITH ACCESS TO EXCLUSIVE JOBS IN NORTH AMERICA",\n "values": [\n "Personalized approach",\n "Networking opportunities",\n "Access to risk-free, quality opportunities",\n "Flexible work environments",\n "Better compensation",\n "Dedicated talent advisors"\n],\n "additionalInfo": {\n "founded": "Not found in search results",\n "headquarters": "Mattoon, Illinois",\n "employees": "Not found in search results",\n "industry": "Technical Recruitment"\n }\n}',
..,
}

```

As the companyInfo here is not a valid JSON object and just a string; I have to clean it up so that it renders correctly in the Generate Asset block and I can use the Live Preview efficiently to check my work.

Is there a workaround for this?

---

<div class="post-metadata">

**Author:** ![Alex\_MindStudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/alex_mindstudio/32/27_2.png) [@Alex\_MindStudio](https://community.mindstudio.ai/u/Alex_MindStudio)\
**Post date:** [May 27, 2025, 1:02pm UTC](https://community.mindstudio.ai/t/import-test-data-json-as-string/989/2 "2025-05-27T13:02:17Z")

</div>

Hi @bkermen,

Thank you for bringing this to our attention!

We’ll look into what’s causing this behavior and follow up as soon as we have more details.

---

<div class="post-metadata">

**Author:** ![bkermen](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/bkermen/32/1287_2.png) [@bkermen](https://community.mindstudio.ai/u/bkermen)\
**Post date:** [May 27, 2025, 2:30pm UTC](https://community.mindstudio.ai/t/import-test-data-json-as-string/989/3 "2025-05-27T14:30:05Z")

</div>

Thanks for the update @Alex_MindStudio.

I have another similar issue with “Import Test Data” functionality. Sometimes, a variable holds a large amount of data and I get a reference to a remote variable, something like:

```auto
vars = {
  ...,
  analysisResults: '@@remote_variable@@https://youai-appdata-private.s3-accelerate.amazonaws.com/...&response-content-type=application%2Fjson',
  ...,
}

```

The link does resolve to the actual JSON object; however when I reference such a remote variable in my template (HTML), it does not render correctly. It behaves as if this variable is empty or null.

---

<div class="post-metadata">

**Author:** ![Alex\_MindStudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/alex_mindstudio/32/27_2.png) [@Alex\_MindStudio](https://community.mindstudio.ai/u/Alex_MindStudio)\
**Post date:** [May 27, 2025, 2:41pm UTC](https://community.mindstudio.ai/t/import-test-data-json-as-string/989/4 "2025-05-27T14:41:00Z")

</div>

Hi @bkermen,

It’s likely that the variable needs to be referenced differently.

Could you please share a Loom with an overview of your setup, an example of the issue in the Debugger tab, and the HTML code you’re using? That would help me get a better understanding of what might be causing it to render incorrectly.

---

<div class="post-metadata">

**Author:** ![Alex\_MindStudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/alex_mindstudio/32/27_2.png) [@Alex\_MindStudio](https://community.mindstudio.ai/u/Alex_MindStudio)\
**Post date:** [July 11, 2025, 3:13pm UTC](https://community.mindstudio.ai/t/import-test-data-json-as-string/989/5 "2025-07-11T15:13:59Z")

</div>

A post was split to a new topic: [JSON roadblock](https://community.mindstudio.ai/t/json-roadblock/1243)
