Web Api strange problem - solution

Hi,

Since yesterday i started suffering problems in Web Api component. I think that the code is ok, however, it is just working the second time you execute it… The first time it says in the smartphone “undefined” when you read the “response” and the “status” blocks. When you click again “button 5” everything works smoothly.

To solve this i had to do a fake calling to the web api block and then do the good one.

image

Does anyone know why is this happening??

Regards.

If i don´t use that “fake calling”, In the device (android phone) when i try to get the response it says “undefined”. However, in the live test it appears inside of response the next thing, with a 404 status code.

image

This just appears the first time, by the second time i click the button, everything goes fine.