I have created a very simple node.js application which starts a server listening on port 3000. It has one GET method with no authentication and no parameters required. When i run this and call it through the browser i get the expect response.
I have created a swagger file for my application. When i call it through Postman i get the expected response and statuscode 200. All good.
I have then imported the swagger file into Nintex to create a private connector. It imports without issue. When i run this connector as a step in a workflow I get Internal Server Error { "statusCode": 500, "message": "Internal server error", "activityId": "94f886a4-54dc-4a9c-a145-628c8fdd125d" }.
Do i have to format the response from my node.js application in a certain way for it to work properly in a workflow?