Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValidateAddressText Example does not seem to work with Country as indicated #1

Open
blainehilton opened this issue Feb 12, 2015 · 1 comment

Comments

@blainehilton
Copy link

When I try the ValidateAddressTest.txt example using line 1 in both the command line curl as well as PostMan I receive:

{
    "ResultCode": "Error",
    "Messages": [{
        "Summary": "Country not supported.",
        "Details": "Address Validation for this country not supported.",
        "RefersTo": "Country",
        "Severity": "Error",
        "Source": "Avalara.AvaTax.Services.Address"
    }]
}

If I remove the "Country=US" option then it works with:

{
    "Address": {
        "County": "Cook",
        "FipsCode": "1703100000",
        "CarrierRoute": "C012",
        "PostNet": "606021304990",
        "AddressType": "H",
        "Line1": "ATTN Accounts Payable City=Chicago",
        "Line2": "118 N Clark St Ste 100",
        "City": "Chicago",
        "Region": "IL",
        "PostalCode": "60602-1304",
        "Country": "US"
    },
    "ResultCode": "Success"
}
@anyarms
Copy link
Contributor

anyarms commented Feb 12, 2015

Odd! I just tried to reproduce this issue in curl (and in the Advanced Rest Client for Chrome), and I was able to call just fine? This might be related to something on your specific account - could you email me your account number and I can take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants