Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! 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