Are data types same? I mean is one expecting number while you are providing string or something like that?
In second step are you using step 1’s result to make sure step 2 runs after step 1?
Have you printed the latitude, longitude values that you got from GPSTracker to confirm they are coming fine?