Estimote Cloud failed to handle request

I have a set of 6 beacons which I am using to create an indoor map using the indoor sdk but whenever I attempt to save a location, I get an error stating:

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.})

My estimote cloud subscription plan is set to Prototyping subscription and I only have 6 beacons registered to my cloud account.

let locationBuilder = EILLocationBuilder()
locationBuilder.setLocationName(MapConstants.locationName)

let BoundaryPoints:[EILPoint]=[
        EILPoint(x:0,y:0),
        EILPoint(x:9.94,y:0),
        EILPoint(x:9.94,y:9.92),
        EILPoint(x:0,y:9.92)
]

locationBuilder.setLocationBoundaryPoints(BoundaryPoints)
    
locationBuilder.setLocationOrientation(MapConstants.Orientation)

for x in MapConstants.Beacons{
        locationBuilder.addBeacon(withIdentifier: x.identifier, withPosition: x.position)
}

location=locationBuilder.build();
    
ESTConfig.setupAppID(BeaconConstants.appID, andAppToken: BeaconConstants.appToken)

let addLocationRequest = EILRequestAddLocation(location: location!)
addLocationRequest.sendRequest { (location, error) in
        if error != nil {
            print("Error when saving location: \(String(describing: error))")
            NSLog("Error when saving location: \(String(describing: error))")
        } else {
            print("Location saved successfully: \(String(describing: location?.identifier))")
            NSLog("Location saved successfully: \(String(describing: location?.identifier))")
        }
    }
1 Like