Our certificate cannot be validated while configuring authentication.


Hi everyone.

We are in the process of building a custom connector, but we haven't managed to configure our user authentication.

We are using the API Key for this matter, and based on DOMO's documentation, our authentication test code looks like this:

//This logging is here for testing! Remove before publishing your connector
DOMO.log('metadata.account.apiKey: ' + metadata.account.apikey);

// Adding the api key in the query parameter

// Making the call to the api endpoint
var res = httprequest.get('https://ourserver');

// Make sure to determine and set the authentication status to either success or failure.
if (httprequest.getStatusCode() == 200) {
} else {
auth.authenticationFailed('The api key you entered is invalid. Please try again with a valid key.');

DOMO.log(res) returns the following error:

"PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"

It seems that there's a problem validating our certificate. We manage to reach the API using Postman, and our certificate is not self-generated; it's generated by a trusted authority.

Has anybody faced the same problem we are experiencing?

Thanks in advance.



Best Answer

  • GrantSmith
    GrantSmith Coach
    Answer ✓

    Sounds like a potential Domo backend issue. I’d recommend reaching out to the third party connect team at connectorhelp@domo.com and see if they can help assist you.

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**