Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hi
I am using Windchill Connector Thing and trying to hit a Windchill REST API url through a service from that Thing. I am getting a error message as "Client Not Trusted; Cause: JSON Server error HTTP 403".
Do I need to make any specific configuration changes on both Thingworx and Windchill Servers.
Thanks
Prasoon
Solved! Go to Solution.
Hi Prasoon Kumar,
I had the same issue when I tried accessing windchill on different host. So I added my TWX host to the Windchill one by running the below give command in windchill shell
xconfmanager -s "wt.auth.trustedHosts=<give your host ip address here>" -t codebase/wt.properties -p
Thanks and Regards,
Saran
Error "Client Not Trusted; Cause: JSON Server error HTTP 403" is most likely due to the fact that trust relationship between TWX and Windchill servers was not setup correctly. Trust can be established using either user name and password or secure keys.
I am not sure what is your service implementation but take a look at the ContentLoaderFunctions in ThingWorx for examples on how to make a REST call from TWX. Make sure to pass proper authorization parameters to authenticate the request. If you still get an error take a look at Windchill method server and apache access logs for clues why the request failed.
Hi Prasoon Kumar,
I had the same issue when I tried accessing windchill on different host. So I added my TWX host to the Windchill one by running the below give command in windchill shell
xconfmanager -s "wt.auth.trustedHosts=<give your host ip address here>" -t codebase/wt.properties -p
Thanks and Regards,
Saran