リクエストが有効であっても、別のエラーが発生してストリートビュー画像を表示できない場合、Street View Static API はエラーに応じて、ストリートビュー画像の代わりにテキストまたはエラー画像を返します。このようなエラー状態の例としては、アプリケーションが使用量上限を超えた場合などがあります。
図: ストリートビュー画像の代わりにエラー画像が表示されている
API キーと課金に関連するエラー
API キーなしで Street View Static API を使用する場合や、アカウントで課金が有効になっていない場合は、ストリートビュー画像の代わりにエラー画像とエラーの種類を示すリンクがページに表示されます。(例: g.co/streetviewerror/key)。
キーレスエラーと解決策
API キーなしで Street View Static API を使用しています。この問題を解決するには、次の操作を行います。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-11 UTC。"],[[["This guide explains error messages returned by the Street View Static API and provides instructions for resolving them."],["Invalid requests result in a `4xx` status code with a descriptive message, such as errors related to parameters or invalid API keys."],["When a valid request cannot display a street view image due to issues like usage limits, either text or an error image is returned."],["Using the API without a key or billing enabled leads to an error image with a link to further information and solutions."]]],[]]