Yes, this is a known issue. The 3D Viewer always tries to parse the response as JSON using JSON.parse(). If your router returns null, an empty body, or void, the viewer fails with "Unexpected end of JSON input".
The fix is simple: always return a valid JSON response.
This behavior is also implied in the 3D Viewer Installation and Configuration documentation, where the viewer configuration is described as an advanced configuration in JSON string format with specific properties. In other words, the viewer is explicitly designed to receive and parse JSON. If the response body is empty or invalid JSON, the browser’s JSON parser will fail and the viewer cannot initialize.