# Converter throwing Json Exception

**URL:** <https://forum.techsoft3d.com/t/converter-throwing-json-exception/4596>\
**Category:** HOOPS Visualize Web\
**Created:** [April 30, 2025, 10:15am UTC](https://forum.techsoft3d.com/t/converter-throwing-json-exception/4596 "2025-04-30T10:15:09Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![fthiel](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@fthiel](https://forum.techsoft3d.com/u/fthiel)\
**Post date:** [April 30, 2025, 10:15am UTC](https://forum.techsoft3d.com/t/converter-throwing-json-exception/4596/1 "2025-04-30T10:15:09Z")

</div>

Hi,  
I am trying to evaluate the Hoops Communicator but seem unable to convert any files. I have tried the convert\_file.bat, the easy\_convert.js, and called the converter directly from the command line, but the result is the same:

It fails with one of these two messages:  
ERROR 1: [json.exception.type\_error.302] type must be number, but is null  
ERROR 1: [json.exception.type\_error.302] type must be number, but is number

Running the same file multiple times can result in either of them, but never at the same time. I have tried .nwd, .rvt, .ifc, and .obj files so far and with and without the server running.

I also tried it with a fresh download of the Communicator, but that did not appear to have any influence.

Any suggestions what might be causing this?

Edit: added picture

 ![Screenshot 2025-04-30 110107](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/6/6b8fede0ea1e0ddac19bf28e3e5bfe6e42c40b01.png)

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [April 30, 2025, 12:59pm UTC](https://forum.techsoft3d.com/t/converter-throwing-json-exception/4596/2 "2025-04-30T12:59:36Z")

</div>

Hello @fthiel,

As a quick suggestion, can you try installing the required [Windows redistributables as mentioned in our docs](https://docs.techsoft3d.com/communicator/latest/overview/supported-platforms.html#windows-redistributables)?

Thanks,  
Tino

---

<div class="post-metadata">

**Author:** ![fthiel](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@fthiel](https://forum.techsoft3d.com/u/fthiel)\
**Post date:** [April 30, 2025, 1:11pm UTC](https://forum.techsoft3d.com/t/converter-throwing-json-exception/4596/3 "2025-04-30T13:11:26Z")

</div>

Hi @tino,

Thanks for getting back to me that quickly!

Not without going through our admins (locked down machine) which will take a few days. However, I have “Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.42.34438” installed.

I also found out something else in the meantime:  
If I try the conversion often enough (and maybe fast enough), it can actually go through. I pressed up and enter on the command line a few times in quick succession (more out of frustration, than expecting anything to change), and was surprised to see it eventually process the model after displaying a server failure code. Despite that, the processing was successful as far as I can tell.  
I attached a screenshot of that as well.

 ![Screenshot 2025-04-30 140829](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/8/885e189cac2c48b29da8b1a63b40d39bbb3555ea.png)

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [April 30, 2025, 1:34pm UTC](https://forum.techsoft3d.com/t/converter-throwing-json-exception/4596/4 "2025-04-30T13:34:35Z")

</div>

Thanks for confirming that you already have the redistributables installed.

If you are able to somehow “force” the conversion to go through, it sounds more like a permissions issue on your locked-down machine but I can’t be sure.

Let’s do one more test. In the directory _HOOPS\_Communicator\_2025.X.0\authoring\converter\example_, please run _sample.bat_. This batch file will run a serious of conversions that are all self-contained in the Communicator package.

---

<div class="post-metadata">

**Author:** ![fthiel](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@fthiel](https://forum.techsoft3d.com/u/fthiel)\
**Post date:** [April 30, 2025, 1:56pm UTC](https://forum.techsoft3d.com/t/converter-throwing-json-exception/4596/5 "2025-04-30T13:56:58Z")

</div>

Hi @tino,

I ran sample.bat twice with differing results. In the first pass, all failed except the last one, which showed the server failure code (134611203) again. In the second pass, that one failed too. Logs (with key redacted) are attached.

[logs.zip](https://forum.techsoft3d.com/uploads/short-url/yJ8KfUGKVKhUG7HOEEAmsAjGBYX.zip) (7.0 KB)

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [April 30, 2025, 2:13pm UTC](https://forum.techsoft3d.com/t/converter-throwing-json-exception/4596/6 "2025-04-30T14:13:32Z")

</div>

When running the conversion, are you connected to a virtual environment or are you running on a bare-metal installation?

Admittedly, I’ve not seen the server error nor the JSON error previously on other support tickets.

---

<div class="post-metadata">

**Author:** ![fthiel](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@fthiel](https://forum.techsoft3d.com/u/fthiel)\
**Post date:** [April 30, 2025, 2:24pm UTC](https://forum.techsoft3d.com/t/converter-throwing-json-exception/4596/7 "2025-04-30T14:24:01Z")

</div>

Bare metal. Just downloaded the zip, unpacked it to the local hard drive, and ran the scripts in the quickstart folder. It’s a Windows 11 system, if that helps.

---

<div class="post-metadata">

**Author:** ![fthiel](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@fthiel](https://forum.techsoft3d.com/u/fthiel)\
**Post date:** [April 30, 2025, 2:27pm UTC](https://forum.techsoft3d.com/t/converter-throwing-json-exception/4596/8 "2025-04-30T14:27:02Z")

</div>

Just a thought that occurred to me: is your converter.exe talking to a licensing server to verify my key? And if it does, what is its error message if it cannot reach it?

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [April 30, 2025, 3:33pm UTC](https://forum.techsoft3d.com/t/converter-throwing-json-exception/4596/9 "2025-04-30T15:33:38Z")

</div>

The license key validation does not require the converter.exe to “phone home” and will work without an internet connection.

All that being said, are you able to generate a new license key via the Developer Zone portal and use that for the conversion:

> **[Tech Soft 3D Developer Zone](https://developer.techsoft3d.com/license_generator)**

---

<div class="post-metadata">

**Author:** ![fthiel](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@fthiel](https://forum.techsoft3d.com/u/fthiel)\
**Post date:** [April 30, 2025, 4:00pm UTC](https://forum.techsoft3d.com/t/converter-throwing-json-exception/4596/10 "2025-04-30T16:00:35Z")

</div>

That worked… or at least the sample.bat ran through twice without issues now. Not sure why it works, but thanks a lot!

I will test more tomorrow and update later that day whether this resolved it completely.

Edit: Still works! Thanks a lot @tino!
