Google Business Performance API memiliki metode API
BARU yang memungkinkan pengambilan beberapa `DailyMetrics` dalam satu permintaan API.
Tinjau
jadwal penghentian dan petunjuk untuk bermigrasi dari metode API reportInsights v4 ke Google Business Profile Performance API.
ErrorCode
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Kode error untuk ErrorDetail
:
- 1 hingga 199: kode error umum yang berlaku untuk semua kolom.
- 1000 hingga 1099: kode error terkait foto.
- 1100 hingga 1199: kode error terkait alamat dan lintang/bujur.
- 1200 hingga 1299: kode error terkait kategori.
- 1300 hingga 1399: kode error terkait operasi.
Enumerasi |
ERROR_CODE_UNSPECIFIED |
Kode error generik. |
MISSING_VALUE |
Nilai yang diperlukan tidak diberikan. |
INVALID_VALUE |
Nilai yang diberikan tidak valid. |
INVALID_CHARACTERS |
Ditemukan karakter yang tidak valid. |
TOO_MANY_ITEMS |
Melebihi jumlah maksimum item yang diberikan di kolom berulang. |
READ_ONLY |
Kolom hanya baca tidak dapat diubah. |
OVERLAPPING_RANGES |
Item dalam kolom berulang adalah rentang yang tumpang-tindih satu sama lain. |
INVERTED_RANGE |
Rentang yang diberikan terbalik. Hal ini juga mencakup kasus rentang kosong. |
VALUE_OUTSIDE_ALLOWED_RANGE |
Nilai yang diberikan berada di luar rentang yang diizinkan. |
MISSING_DEPENDENT_FIELD |
Kolom dependen yang diperlukan tidak ada. |
FIELD_HAS_DEPENDENCIES |
Kolom wajib diisi dengan kolom dependen dan tidak dapat dihapus. |
UNSUPPORTED_VALUE |
Nilai yang diberikan, meskipun mungkin valid, tidak didukung karena batasan lainnya. |
EXPIRED_VALUE |
Nilai yang diberikan telah habis masa berlakunya dan tidak lagi valid. |
PHOTO_FETCH_FAILED |
Gagal mengambil foto dari URL yang ditentukan. |
PHOTO_UPLOAD_FAILED |
Upload foto dari URL yang ditentukan gagal. |
GEOCODE_ERROR |
Terjadi error saat menentukan lintang/bujur secara otomatis. |
LAT_LNG_OUTSIDE_COUNTRY |
Lintang/bujur yang disediakan tidak terletak di negara yang disediakan. |
LAT_LNG_REQUIRED |
Lintang dan Bujur harus disediakan. |
LAT_LNG_TOO_FAR_FROM_ADDRESS |
Pasangan lintang/bujur dan alamat terlalu jauh. |
CATEGORY_NOT_VERIFIED |
Kategori yang disediakan tidak diverifikasi. |
OPERATION_EXECUTION_ERROR |
Error eksekusi operasi umum. |
OPERATION_UNSUPPORTED_UNDER_ACCOUNT_CONDITION |
Operasi tidak didukung karena kondisi akun. |
LOCATION_DISABLED_FOR_LOCAL_POST_API |
Lokasi Dinonaktifkan untuk API Postingan Lokal. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003eErrorDetail\u003c/code\u003e codes are categorized: 1-199 (general), 1000-1099 (photos), 1100-1199 (address/location), 1200-1299 (category), and 1300-1399 (operation).\u003c/p\u003e\n"],["\u003cp\u003eCommon error codes include unspecified errors, missing or invalid values, invalid characters, and exceeding item limits.\u003c/p\u003e\n"],["\u003cp\u003eLocation-specific errors address issues with geocoding, latitude/longitude accuracy, and location restrictions.\u003c/p\u003e\n"],["\u003cp\u003ePhoto errors indicate failures in fetching or uploading images from provided URLs.\u003c/p\u003e\n"],["\u003cp\u003eOperational and categorical errors cover unsupported values, verification issues, and account-related limitations.\u003c/p\u003e\n"]]],[],null,["# ErrorCode\n\nError codes for `ErrorDetail`:\n\n- 1 to 199: common error codes that apply to all fields.\n- 1000 to 1099: photos-related error codes.\n- 1100 to 1199: address- and latitude/longitude-related error codes.\n- 1200 to 1299: category-related error codes.\n- 1300 to 1399: operation related error codes.\n\n\u003cbr /\u003e\n\n| Enums ||\n|-------------------------------------------------|---------------------------------------------------------------------------------------|\n| `ERROR_CODE_UNSPECIFIED` | Catch-all error code. |\n| `MISSING_VALUE` | A required value was not provided. |\n| `INVALID_VALUE` | An invalid value was provided. |\n| `INVALID_CHARACTERS` | Invalid characters were found. |\n| `TOO_MANY_ITEMS` | More than the maximum number of items was provided in a repeated field. |\n| `READ_ONLY` | Read-only field cannot be modified. |\n| `OVERLAPPING_RANGES` | Items in a repeated field are ranges that overlap with one another. |\n| `INVERTED_RANGE` | The range provided is inverted. This also includes the case of an empty range. |\n| `VALUE_OUTSIDE_ALLOWED_RANGE` | The value provided is outside of its allowed range. |\n| `MISSING_DEPENDENT_FIELD` | Required dependent field not present. |\n| `FIELD_HAS_DEPENDENCIES` | Field required by dependent field and cannot be removed. |\n| `UNSUPPORTED_VALUE` | The provided value, although possibly valid, is unsupported due to other constraints. |\n| `EXPIRED_VALUE` | The provided value has expired and is no longer valid. |\n| `PHOTO_FETCH_FAILED` | Fetch photo from the specified URL failed. |\n| `PHOTO_UPLOAD_FAILED` | Upload photo from the specified URL failed. |\n| `GEOCODE_ERROR` | There was an error automatically determining latitude/longitude. |\n| `LAT_LNG_OUTSIDE_COUNTRY` | The latitude/longitude provided does not lie in the country provided. |\n| `LAT_LNG_REQUIRED` | Latitude and Longitude must be provided. |\n| `LAT_LNG_TOO_FAR_FROM_ADDRESS` | The latitude/longitude and address pair are too far apart. |\n| `CATEGORY_NOT_VERIFIED` | Category provided is not verified. |\n| `OPERATION_EXECUTION_ERROR` | Generic operation execution error. |\n| `OPERATION_UNSUPPORTED_UNDER_ACCOUNT_CONDITION` | Operation is not supported due to account condition. |\n| `LOCATION_DISABLED_FOR_LOCAL_POST_API` | Location Disabled for Local Post API. |"]]