You can translate the question and the replies:

Getting "com.denodo.vdb.engine.customwrapper.CustomWrapperException" error while executing select query on view created from sharepoint

Hi, We have created a sharepoint connection in design studio. we are able to create view from that connection but when we execute the select query we get "com.denodo.vdb.engine.customwrapper.CustomWrapperException" exception. when we looked at the log files there error was like: ERROR 2021-11-11T07:17:18.519 com.denodo.connect.odata.wrapper.ODataWrapper [] - com.denodo.vdb.engine.customwrapper.CustomWrapperException: Error while getting token refresh. Error message: No OAuth2 refresh token The refresh token is also there in connection still getting this error. Not able to understand the error cause. Can someone please help me with this. Thanks.
user
11-11-2021 03:13:28 -0500
code

1 Answer

Hi, The error “No OAuth2 refresh token” usually occurs when the **Refresh Token** or the **Service Endpoint** URL provided are invalid. In such scenarios, I would do the following checks , * Ensure the **Service Endpoint** URL provided in the Data Source Configuration is valid. * Make sure that the steps mentioned in the Knowledge Base article [How to connect Denodo to Sharepoint Online using OData with OAuth authentication](https://community.denodo.com/kb/en/view/document/How%20to%20connect%20Denodo%20to%20Sharepoint%20Online%20using%20OData%20with%20OAuth%20authentication?category=Security) are followed correctly. * Change the [log level](https://community.denodo.com/kb/en/view/document/Using%20logcontroller%20and%20useful%20log%20categories) to “**Trace**” and analyze the root cause, by checking the **vdp.log** file in “<DENODO_HOME>/logs/vdp” directory. For more detailed information,you could refer to the Knowledge Base article [Microsoft SharePoint as data source](https://community.denodo.com/kb/en/view/document/Microsoft%20SharePoint%20as%20data%20source). Hope this helps!
Denodo Team
11-11-2021 07:36:15 -0500
code
You must sign in to add an answer. If you do not have an account, you can register here