My app is making a web request to my server. the server returns a 200, the ConnectIQ simulator Http Activity shows a 200, but the code has an error where it is saying the response code is -1001. I have tried editing the headers but I cannot find out what is causing this weird response code and for data to be null./
Here is the HTTP Activity showing that it does get the body as a valid json.

Here is my code. Can anyone help me?