I'm getting an HTTP status code when I try to use the API. What does it mean?
Whether you're using LiveAddress API, or the ZIP Code API, there are a few standard response messages that you might see. Here's a quick chart to explain:
|200||Success. See response body for result payload. Now what?|
|400||Bad input. Required fields missing from input or are malformed. Now what?|
|401||Unauthorized. Authentication failure; invalid credentials. Now what?|
|402||Payment required. No active subscription found. Now what?|
|500||Internal server error. General service failure; retry request. Now what?|
https://us-street.api.smartystreets.com/street-address?auth-id=[your_auth_id]&auth-token=[your_auth_token]&street=1600-Amphitheatre-Parkway&stret2=&city=Mountain%20View&state=CA&zipcode=&candidates=10you would get a 400 response because our system doesn't know how to process a field called "stret."
target.com is different than
checkout.target.com as well as
www.target.com. You can add multiple domains to each auth token by clicking the blue "add host" link for that token. Notice in the picture above that both
checkout.target.com are linked to the same auth token.