Ошибка при проверке адреса с помощью UPS API
Я передаю нижеуказанные параметры адреса
$addrkeyfrmt[AddressLine][0]= '2920 Zoo Drive';
$addrkeyfrmt[AddressLine][1]= '';
$addrkeyfrmt[AddressLine][2]= '';
$addrkeyfrmt['PoliticalDivision2'] = 'San Diego';
$addrkeyfrmt['PoliticalDivision1'] = 'CA';
$addrkeyfrmt['PostcodePrimaryLow'] = '92112';
$addrkeyfrmt['CountryCode'] = 'US';
$request['AddressKeyFormat'] = $addrkeyfrmt;
Я получаю ошибку:
{
"code":2,
"msg":"There's a problem with the address provided. We've provided suggestions below. Please choose which version of the address you would like to use.",
"classification":[
{
"AddressLine":[
"2920 ZOO DR"
],
"PoliticalDivision2":"SAN DIEGO",
"PoliticalDivision1":"CA",
"PostcodePrimaryLow":"92101",
"PostcodeExtendedLow":"1646",
"Region":"SAN DIEGO CA 92101-1646",
"CountryCode":"US"
}
]
}
Не могли бы выпожалуйста, предложите. Спасибо