Skip to main content
10-Marble
August 5, 2026
Solved

Project Import failed via XML single file

  • August 5, 2026
  • 3 replies
  • 15 views

Hi All,

While importing whole project to new server getting below error:
Already checked:
Thingworx version is same:9.5.1

All required/dependent extension available

Application log Error:

Unable to process import org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]

 

Regards,

Javed Akhtar

Best answer by JavedAkhtar

@VladimirN 

XML does have user details; I remove that and it worked.

<Users>….. </Users>

3 replies

24-Ruby IV
August 5, 2026

Check for spaces before { in file.

10-Marble
August 5, 2026

@VladimirN Thanks!
First line is generic XML tag only and content starts with below block, I don't see any space, any other possible cause:
<![CDATA[{

But I saw below pattern will that be an issue: here there is space between [ and {
"Services" : [ {

However, I tried removing space in-between for start and close, still same error.

JavedAkhtar10-MarbleAuthorAnswer
10-Marble
August 5, 2026

@VladimirN 

XML does have user details; I remove that and it worked.

<Users>….. </Users>