bookmark_borderbookmark
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Maps Datasets API, yanıtın bir parçası olarak hata mesajları döndürür. Örneğin, OAuth jetonunu istekten çıkarırsanız veya jetonun süresi dolduysa istek şu şekilde döndürülür:
{"error":{"code":401,"message":"Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.","status":"UNAUTHENTICATED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"CREDENTIALS_MISSING","domain":"googleapis.com","metadata":{"method":"google.maps.mapsplatformdatasets.v1alpha.MapsPlatformDatasetsV1Alpha.ListDatasets","service":"mapsplatformdatasets.googleapis.com"}}]}}
Veri kümesi oluştururken displayName gibi gerekli bir gövde parametresini atlarsanız istek şunu döndürür:
{"error":{"code":400,"message":"display_name: Display name must be provided","status":"INVALID_ARGUMENT"}}
Geçersiz bir veri kümesi kimliği gönderirseniz istek şunu döndürür:
{"error":{"code":404,"message":"Dataset not found","status":"NOT_FOUND"}}
Hatalar ve hatalarla ilgili işlemler hakkında daha fazla bilgi için Hatalar bölümüne bakın.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-03-21 UTC."],[[["The Maps Datasets API returns errors with codes, messages, and status information to help you troubleshoot issues."],["Common errors include missing or expired authentication credentials (401), missing required parameters (400), and invalid dataset IDs (404)."],["Error responses provide details about the cause of the error, such as the missing credential or parameter."],["Refer to the Google Cloud error documentation for comprehensive information on error handling and troubleshooting."]]],[]]