Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
I was trying to create a Thing using Postman.
I put the appKey and Content-Type = application/json as suggested in this website:
The status code is 500 Internel Server Error and it says "Unable to Invoke Service CreateThing on EntityServices : No name provided in CreateThing".
Thanks.
Solved! Go to Solution.
@liuq Could you please share the exact REST call you are making along with details provided in header, parameters, etc using Postman. From the error it appears to be an issue with your REST call with existing TWX configuration. Are you able to make any successful REST call pointing to the same ThingWorx instance? Also, check and provide Allow Request Method Switch setting for more detail please refer Help center page.
-Durgesh
HTTP/1.1 502 Bad Gateway
Connection: keep-alive
Content-Length: 240
Content-Type: text/html
Date: Thu, 07 Jun 2018 19:24:00 GMT
ETag: "5acdfc0e-f0"
Server: nginx
This is the response if I am using HTTPie.
@liuq Could you please share the exact REST call you are making along with details provided in header, parameters, etc using Postman. From the error it appears to be an issue with your REST call with existing TWX configuration. Are you able to make any successful REST call pointing to the same ThingWorx instance? Also, check and provide Allow Request Method Switch setting for more detail please refer Help center page.
-Durgesh