ValidationError
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.
Mô tả các lỗi xác thực trong một yêu cầu của ứng dụng.
Biểu diễn dưới dạng JSON |
{
"errorDetails": [
{
object (ErrorDetail )
}
]
} |
Trường |
errorDetails[] |
object (ErrorDetail )
Chi tiết từng lỗi xác thực bằng mã lỗi số nguyên.
|
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-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eThe JSON response describes validation failures in a client request using an \u003ccode\u003eerrorDetails\u003c/code\u003e array.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eerrorDetails\u003c/code\u003e contains objects of type \u003ccode\u003eErrorDetail\u003c/code\u003e providing specific information about each validation failure, including error codes.\u003c/p\u003e\n"]]],["The core content details validation failures in client requests, represented in JSON format. The JSON structure contains an `errorDetails` array. Each element within `errorDetails` is an `ErrorDetail` object, which describes individual validation issues. These `ErrorDetail` objects include integer error codes to identify the specific nature of each validation failure.\n"],null,["# ValidationError\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nDescribes validation failures in a client request.\n\n| JSON representation ||\n|---------------------------------------------------------------------------------------------------|---|\n| ``` { \"errorDetails\": [ { object (/my-business/reference/rest/Shared.Types/ErrorDetail) } ] } ``` |\n\n| Fields ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| `errorDetails[]` | `object (`[ErrorDetail](/my-business/reference/rest/Shared.Types/ErrorDetail)`)` Details individual validation failures with integer error codes. |"]]