Application did not see location, but showed alert "Location updated successfully". Next, after click on "Set location and submit" showed alert "The given location data is invalid".