2017-08-08 6 views
-1

3つの屋内ロケーションビーコンパッケージに電子メールアドレスがあり、クラウドを推定する場所を保存中にエラーメッセージが表示されました.... -Estimote屋内ロケーションの場所を保存しているときのエラーコード500

エラーのドメイン= ESTRequestBaseErrorDomainコード= 500「Estimote Cloudが要求を処理できませんでした」UserInfo = {NSLocalizedDescription = Estimote Cloudが要求を処理できませんでした。NSLocalizedRecoverySuggestion =理由フィールドをチェックして、起こった。})

以下は私の実装です: -

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

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: "mybeaconid1", atBoundarySegmentIndex: 0, inDistance: 3.5, from: .leftSide) 
locationBuilder.addBeacon(withIdentifier: "mybeaconid2", atBoundarySegmentIndex: 1, inDistance: 1.1, from: .rightSide) 
locationBuilder.addBeacon(withIdentifier: "mybeaconid3", atBoundarySegmentIndex: 2, inDistance: 5.7, from: .leftSide) 
locationBuilder.addBeacon(withIdentifier: "mybeacon4", atBoundarySegmentIndex: 3, inDistance: 3, from: .rightSide) 

locationBuilder.setLocationOrientation(50) 

let location = locationBuilder.build() 

ESTConfig.setupAppID("myAppId", andAppToken: "myAppToken") 

let addLocationRequest = EILRequestAddLocation(location: location!) 

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

beaconManager.requestAlwaysAuthorization() 

return true 
} 
+0

https://forums.estimote.com/t/error-when-saving-location-estimote-cloud-failed-to-handle-request/6121/2? – Larme

+0

私はハードウェア、クラウドアカウント、アプリトークン付きのアプリケーションを購入しました – aznelite89

+0

この応答はサーバーサイドのエラーがあることを示しています。コードに問題がある場合、バックエンドが期待している形式でネットワーク要求をセットアップしていないため、エラーが発生します。 –

答えて

0

私はこの問題に関して見積りサポートに尋ねましたが、このエラーはサーバー上の問題により発生しましたが、今は魅力的です。

関連する問題