USPS Address Validation Fail

deejdd

New Member
When validating an address, I get this error:\[code\]ex = {"Error Loading XML: The following tags were not closed: AddressValidateRequest, Address, Address1.\r\n"}\[/code\]or I get another error saying the address cannot be found. Is there a better way to validate this address?Here is my URL:\[code\]http://production.shippingapis.com/ShippingAPI.dll?API=Verify&XML=<AddressValidateRequest USERID="402JMAWE3481"><Address ID="1"><Address1>123 Main St</Address1><Address2></Address2><City>Watertown</City><State>MA</State><Zip5>02472</Zip5><Zip4></Zip4></Address></AddressValidateRequest>\[/code\]
 
Back
Top