You can translate the question and the replies:

odata 2 Custom datasource error

Team, I am trying to create a datasource to connect to dataverse api using odata2-wrapper and create a base view following below document. https://community.denodo.com/kb/en/view/document/How%20to%20connect%20to%20Microsoft%20Dynamics%20365%20from%20Denodo Endpoint: https://<organizaionid>.api.crm.dynamics.com/api/data/v9.2/ I am able to successfully get access token and refresh token and create datasource but when i try creating a base view i am getting certificate error "Error while executing custom wrapper method 'getSchemaParameters': javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" Can you explain what this error means and how it can be resolved? Also i am using odata2 instead of odata4 as recommended in document. Is there an issue using odata2 ?
user
21-04-2023 14:39:20 -0400
code

1 Answer

Hi, To understand the meaning of, and to solve the ``` "Error while executing custom wrapper method 'getSchemaParameters': javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" ``` error, please refer to the previously answered Community question [here](https://community.denodo.com/answers/question/details?questionId=906Du00000000iZIAQ&title=TCP%2FIP+connection+failed). You need to use the OData2 Custom Wrapper if you are using/consuming the OData2 or OData3 protocol. Else, use the OData4 Custom Wrapper to consume the OData4 protocol service. You should refer to the [Denodo OData2 Custom Wrapper - User Manual](https://community.denodo.com/docs/html/document/denodoconnects/8.0/en/Denodo%20OData2%20Custom%20Wrapper%20-%20User%20Manual#h.uthsc1fg8h93) for more information. Hope this helps!
Denodo Team
25-04-2023 17:53:13 -0400
code
You must sign in to add an answer. If you do not have an account, you can register here