Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
ErrorResponseLog
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Phản hồi lỗi được trả về ứng dụng.
| Biểu diễn dưới dạng JSON |
{
"code": enum (Code),
"httpStatusCode": integer,
"message": string,
"details": [
{
"@type": string,
field1: ...,
...
}
]
} |
| Trường |
code |
enum (Code)
Mã chuẩn của lỗi.
|
httpStatusCode |
integer
Mã trạng thái HTTP của phản hồi lỗi.
|
message |
string
Thông báo lỗi được trả về máy khách.
|
details[] |
object
Thông tin bổ sung về lỗi này, hãy xem https://cloud.google.com/apis/design/errors. Một đối tượng có chứa các trường thuộc loại tuỳ ý. Trường bổ sung "@type" chứa URI xác định kiểu. Ví dụ: { "id": 1234, "@type": "types.example.com/standard/id" }.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-31 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[],["The response contains error information represented in JSON format. Key fields include `code`, an enumerated canonical error code; `httpStatusCode`, the HTTP status; and `message`, the error text. Additionally, `details` provides further information about the error in an object format, with `@type` field that indicates the type of the error. Each field has a specific format and meaning.\n"]]