The error "Invalid XML: extra characters in comment declaration" occurs when the response received by our driver doesn't correctly implement OKTA authentication. This means that the driver doesn't receive the SAML Response, which is crucial for the OKTA Verify process, enabling the driver to redirect to the Sage Intacct login page.
![](https://uploads-us-west-2.insided.com/cdata-en/attachment/d548a6e9-912c-48e8-8faa-77c332b7d3a7.png)
To resolve this issue, you can follow these steps:
-
Access your OKTA user interface.
-
Navigate to the "Applications" section.
-
Choose your application, typically named Sage Intacct.
-
Go to the "Sign On" settings.
-
Scroll down until you find the "User authentication" section.
-
Click on "Edit."
-
Then, select "Okta Dashboard."
![](https://uploads-us-west-2.insided.com/cdata-en/attachment/8aa32707-a2a6-4fb1-8774-992fec47ee78.png)
Then we can re-test the connection and everything should work as expected.
Please reach out to [email protected] if this does not resolve the problem for you.