Closed jodem closed 3 years ago
It's hard to see but note the trailing .
after the .com
in the test @jodem added -- https://api.intacct.com./ia/xml/xmlgw.phtml
Some info on the trailing dot -- http://www.dns-sd.org/trailingdotsindomainnames.html
Released in v2.1.1
Endpoint only allow the "intacct.com" domain.
It turns out on AWS lambda when we try to use the library, the DNS resolution takes more than 15 seconds. Allowing to use a fully qualified domain name (adding a tailing dot to the domain name) help the DNS resolution and remove the 15 extra second for every api call to intacct.
We updated Endpoint to allow the FQDN and added a related unit test case.