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
httprequest.addParameter('key',metadata.account.apikey);
// Making the call to the api endpoint
var res = httprequest.get('https://ourserver');
DOMO.log(res)
// Make sure to determine and set the authentication status to either success or failure.
if (httprequest.getStatusCode() == 200) {
auth.authenticationSuccess();
} 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.
Alejandro.
Best Answer
-
Sounds like a potential Domo backend issue. I’d recommend reaching out to the third party connect team at [email protected] 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!**1
Answers
-
Sounds like a potential Domo backend issue. I’d recommend reaching out to the third party connect team at [email protected] 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!**1 -
Thanks a lot, Grant. We will reach the Connect team as suggested.
I will post the issue's solution once we are able to fix it.
0
Categories
- 10.6K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 477 Transform
- 1.8K Magic ETL
- 69 SQL DataFlows
- 478 Datasets
- 218 Visualize
- 260 Beast Mode
- 2.1K Charting
- 12 Variables
- 19 Automate
- 356 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 249 Distribute
- 65 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 191 Product Ideas
- 1.2K Ideas Exchange
- 11 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive