Device Reachability
# Device Reachability The device needs to be powered on and connected to the network to retrieve the location. ThingSpace will store the last known (successful) location within the [Extended Diagnostics](/docs/standard-apis/connectivity-management/api-endpoints/device-management/get-device-extended-diagnostic-information/getdeviceextendeddiagnosticinformation) API. If the device is offline or otherwise unreachable, the request status will likely fail and show an error. However, as soon as the device powers on and connects to the network, ThingSpace will retry to retrieve the location for up to 30 days of the original request. To be notified when the device is reachable, use the [Reachability](/docs/standard-apis/connectivity-management/api-endpoints/device-diagnostics/device-reachability-status-using-post/devicereachabilitystatususingpost) API. The Extended Diagnostic API can be used subsequently to retrieve the updated location ThingSpace retrieved from the network.