Error Details

Output representation of the top-level error detail when validation fails.

JSON Example 

This example shows a sample error response.

1{
2  "errors": [
3    {
4      "errorCode": "VALIDATION_FAILED",
5      "message": "Product validation completed with cross-entity errors",
6      "products": [
7        {
8          "productId": "01txx0000006i2gAAA",
9          "validationResult": {
10            "validationErrors": [],
11            "validationWarnings": []
12          }
13        }
14      ]
15    }
16  ]
17}
Property NameTypeDescriptionFilter Group and VersionAvailable Version
errorCodeStringStandardized error code. For example, VALIDATION_FAILED.Big, 66.066.0
messageStringHuman-readable error message that describes the overall validation failure.Big, 66.066.0
productsProduct Validation Result[]List of product validation results.Big, 66.066.0