# GeoLocation Error

**URL:** <https://forums.fusetools.com/t/geolocation-error/8045>\
**Category:** Bug Reports\
**Created:** [May 14, 2020, 1:34pm UTC](https://forums.fusetools.com/t/geolocation-error/8045 "2020-05-14T13:34:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeep](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@sandeep](https://forums.fusetools.com/u/sandeep)\
**Post date:** [May 14, 2020, 1:34pm UTC](https://forums.fusetools.com/t/geolocation-error/8045/1 "2020-05-14T13:34:57Z")

</div>

```
GeoLocation.getLocation(5000).then(function (location) {
    console.log("location : " + location);
    console.log("location : " + JSON.stringify(location));

}).catch(function (fail) {
    console.log("getLocation fail " + fail);
  
});

```

}

This code is using for getting the current location,But most of the time getting  
“getLocation fail Location request timed out”
