{"action":"opened","issue":{"url":"https://api.github.com/repos/nopSolutions/avalara-plugin-for-nopcommerce/issues/10","repository_url":"https://api.github.com/repos/nopSolutions/avalara-plugin-for-nopcommerce","labels_url":"https://api.github.com/repos/nopSolutions/avalara-plugin-for-nopcommerce/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/nopSolutions/avalara-plugin-for-nopcommerce/issues/10/comments","events_url":"https://api.github.com/repos/nopSolutions/avalara-plugin-for-nopcommerce/issues/10/events","html_url":"https://github.com/nopSolutions/avalara-plugin-for-nopcommerce/issues/10","id":362273030,"node_id":"MDU6SXNzdWUzNjIyNzMwMzA=","number":10,"title":"Duplicate address code error","user":{"login":"rossiter10","id":4852158,"node_id":"MDQ6VXNlcjQ4NTIxNTg=","avatar_url":"https://avatars1.githubusercontent.com/u/4852158?v=4","gravatar_id":"","url":"https://api.github.com/users/rossiter10","html_url":"https://github.com/rossiter10","followers_url":"https://api.github.com/users/rossiter10/followers","following_url":"https://api.github.com/users/rossiter10/following{/other_user}","gists_url":"https://api.github.com/users/rossiter10/gists{/gist_id}","starred_url":"https://api.github.com/users/rossiter10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossiter10/subscriptions","organizations_url":"https://api.github.com/users/rossiter10/orgs","repos_url":"https://api.github.com/users/rossiter10/repos","events_url":"https://api.github.com/users/rossiter10/events{/privacy}","received_events_url":"https://api.github.com/users/rossiter10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-20T16:46:06Z","updated_at":"2018-09-20T16:46:06Z","closed_at":null,"author_association":"NONE","body":"I'm getting some of these errors on a production site:\r\n```\r\nAvalara tax request error: { \"ResultCode\": \"Error\", \"Messages\": [ { \"Summary\": \"Duplicate Address Code 0.\", \"Details\": \"There are duplicate address codes used in the request. Address code should be unique for addresses.\", \"RefersTo\": \"Addresses[2]\", \"Severity\": \"Error\", \"Source\": \"Avalara.AvaTax.Services.Tax\"} ] }\r\n\r\nSystem.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at Nop.Plugin.Tax.Avalara.Helpers.AvalaraTaxHelper.PostTaxRequest(TaxRequest taxRequest, AvalaraTaxSettings avalaraTaxSettings, ILogger logger)\r\n```\r\n\r\nI haven't been able to reproduce at all. I even run locally and manually change the `Addresses `part of `TaxRequest` to be the same addresses, but I don't still don't get the error. From what I see, all of these errors come from Guest customers, and also during checkout (/checkout/opcconfirmorder/).\r\n\r\nAny thoughts?"}}
{"actor":{"display_login":"rossiter10"}}