Error when saving location: "Estimote Cloud failed to handle request"

I need a help!!, I try to make a manual map, but it sends me an error when trying to save the map.
What can do I do in this situation?

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.

    let locationBuilder = EILLocationBuilder()
    locationBuilder.setLocationName("Oficina")
    
    locationBuilder.setLocationBoundaryPoints([
        EILPoint(x: 0.00, y: 0.00),
        EILPoint(x: 0.00, y: 9.85),
        EILPoint(x: 4.56, y: 9.85),
        EILPoint(x: 4.56, y: 0.00)])
    
    locationBuilder.addBeacon(withIdentifier: "97702a5fd61e5bc1079cedb4ccb6fa04", atBoundarySegmentIndex: 0, inDistance: 3.00, from: .leftSide)
    locationBuilder.addBeacon(withIdentifier: "62b1675c57363c3dcc0d7b74cc074c31", atBoundarySegmentIndex: 1, inDistance: 2.50, from: .rightSide)
    locationBuilder.addBeacon(withIdentifier: "69b5beb11608ae5ce7dae496012e002c", atBoundarySegmentIndex: 2, inDistance: 3.00, from: .leftSide)
    locationBuilder.addBeacon(withIdentifier: "fac544a9e2e587fb6811fb901f3ba713", atBoundarySegmentIndex: 3, inDistance: 2.50, from: .rightSide)
    
    
    locationBuilder.setLocationOrientation(50)
    
    let location = locationBuilder.build()
    
    ESTConfig.setupAppID("appId", andAppToken: "appToken")
    let addLocationRequest = EILRequestAddLocation(location: location!)
    addLocationRequest.sendRequest { (location, error) in
        if error != nil {
            NSLog("Error when saving location: \(error)")
        } else {
            NSLog("Location saved successfully: \(location?.identifier)")
        }
    }
    return true
}

THE ERROR:
Indoor[4366:2006999] Error when saving location: Optional(Error Domain=ESTRequestBaseErrorDomain Code=500 “Estimote Cloud failed to handle request.” UserInfo={NSLocalizedDescription=Estimote Cloud failed to handle request., NSLocalizedRecoverySuggestion=Check reason field to verify what kind of error happened.})

1 Like

Hi Gatsemani!

The indoor Location is a feature not included in the hardware only plan. You can check out our pricing structure here for more details on these pricing tiers. I’m sorry that the error was not meaningful, we will include more informative error descriptions in the next SDK release for sure!

If you are new to Estimote and wish to get familiar with our stack and evaluate it, you are free to do so, at no charge, without time limit, provided you have no more than 20 devices in your account; this limit includes all kinds of devices - beacons, stickers, mirrors. However, we do not limit the type of services you can try out - you are free to use our SDKs, Indoor Location, Security, Deployment Tools, Fleet Management and all other advanced services. You may create multiple accounts, and split you beacons across them, but please bear in mind that you won’t then be able to use all the beacons in one Estimote SDK-powered app.

ok, I understand, but I try with the “Indoor App” I have problems to create a new map, when I touch on the button “Create a new Map” the app give a message say “Something went wrong. Estimote Cloud failed to handle the request”, why this is it happen? U.U, Does this happen because I have more than 20 devices in my account?

Unfortunately this is due to exactly the same reasons. As I mentioned if you would like to prototype for some time before committing to the paid plan you can separate part of your beacon fleet to a separate “prototyping” account :slight_smile:

I have the same problem… Error when saving location: Optional(Error Domain=ESTRequestBaseErrorDomain Code=500 “Estimote Cloud failed to handle request.” UserInfo={NSLocalizedDescription=Estimote Cloud failed to handle request., NSLocalizedRecoverySuggestion=Check reason field to verify what kind of error happened.})

Is there anyting i can do with my app?