2016-12-07 10 views
0

GoogleプレイスアピGoogleプレイスAPIエラー

私は私のプロジェクトでGoogleの場所APIを実装しています。私はすべてを実装しているが、Google APIには、次のエラーが返されます。それは、以前働いていた

Current Place error: The operation couldn’t be completed. An internal error occurred in the Places API library. If you believe this error represents a bug, please file a report using the instructions on our community and support page (https://developers.google.com/places/support).

突然それが停止します。他の答えで私が役に立たなかったことは何も見つかりませんでした。

アピ呼び出すために、この私のコード:任意のヘルプをいただければ幸いです

GMSPlacesClient().currentPlace(callback: { 
      (placeLikelihoods, error) -> Void in 

      guard error == nil else { 
       print("Current Place error: \(error!.localizedDescription)") 
       return 
      } 
     }) 

を!

+0

いくつかのコードを示しています。 –

+0

質問を編集したことを確認してください。 – User511

+0

問題が見つかりましたか? – pasevin

答えて

-1

上記のコードは、あなたの代わりにIDのplace_idを与えていることを確認します

GMSPlacesClient.shared().currentPlace(callback: { 
     (placeLikelihoods, error) -> Void in 

     guard error == nil else { 
      print("Current Place error: \(error!.localizedDescription)") 
      return 
     } 
    }) 
関連する問題