Skip to main content
1-Visitor
August 3, 2020
Solved

Java SDK Tutorial ThingName wont work

  • August 3, 2020
  • 1 reply
  • 867 views

I recently had another ticket that got me connected to the java hosted trial but now I am getting this error associated with the ThingName I am creating.

com.thingworx.common.exceptions.GenericHTTPException: Entity ExampleThing_1 does not exist or is not yet associated with a Thing

 

Here is the line that creates the ThingName.

private static String ThingName = "ExampleThing_1";

 

What am I doing wrong here?

Best answer by justinoberle

Well, After a lot of messing around I think I figured out the issue. The guide uses the wrong .java file so it was looking for a thing that doesn't exist. I used the exampleClient.java and it connects no problem. I assume this is the solution.

1 reply

justinoberle1-VisitorAuthorAnswer
1-Visitor
August 3, 2020

Well, After a lot of messing around I think I figured out the issue. The guide uses the wrong .java file so it was looking for a thing that doesn't exist. I used the exampleClient.java and it connects no problem. I assume this is the solution.