Column value exception error response for email and phone fields does not contain error_data
response:
{
"errors": [
{
"message": "email is not valid",
"locations": [
{
"line": 1,
"column": 133
}
],
"path": [
"create_item"
],
"extensions": {
"code": "ColumnValueException",
"status_code": 200,
"error_data": {}
}
}
],
"status_code": 200,
"error_data": {},
"error_code": "ColumnValueException",
"error_message": "email is not valid",
"account_id": ""
}
For other fields like status we get error_data which could be really helpful
{
"errors": [
{
"message": "This status label doesn't exist, possible statuses are: {5: OK}",
"locations": [
{
"line": 1,
"column": 133
}
],
"path": [
"create_item"
],
"extensions": {
"code": "ColumnValueException",
"status_code": 200,
"error_data": {
"column_value": "{\"label\"=>\"OS\"}",
"column_id": "status1"
}
}
}
],
"status_code": 200,
"error_data": {
"column_value": "{\"label\"=>\"OS\"}",
"column_id": "status1"
},
"error_code": "ColumnValueException",
"error_message": "This status label doesn't exist, possible statuses are: {5: OK}",
"account_id":
}
Is it possible to get detailed error_data for all column types.