Ticket Created
over 5 years ago

WERETECH-8758

Wrong response code when using makeImageRequest

Hi,

I'm using the makeImageRequest to request some image.

Sometimes, the server returns a 401 status code but the value of the response code in the callback is 404.

As long as there is this problem, I don't know how to differentiate errors.

Please note that in spite of a very close signature, there is no problem with the markeWebRequest method.

Best regards,

  • Is this occurring on the ConnectIQ simulator or a physical device? If a physical device, which one(s)? If you are seeing this with the ConnectIQ simulator, have you tried looking at the HTTP Traffic log (Simulator > View HTTP Traffic) to verify that we are getting a 401 from the server? Travis