Error handling with gps post request improved