Skip to main content
Michel L
Feb 24, 2025 10:20 AM UTC
Solved

Github Data Connector Example don't work when publshed

I have tried the https://github.com/lucidsoftware/sample-lucid-extensions/blob/main/data-connector-example

And it works quite well locally with the commands “npx lucid-package test-editor-extension data-connector-example” and “npm start”.for the connector.

But when this extension is published in Applications on my portal it does not work i’m getting a 401 response.

Any explanation ?

Best regards.

Connor B
Connor BAnswer
Lucid product team
Feb 26, 2025 7:58 PM UTC

Hello Michel,

 

Did you change the callbackBaseUrl in the manifest file to point towards wherever you are hosting your data connector? Another thing to check is that the ID within your manifest file matches the ID of the package you uploaded the zip file to. See the docs here for more details.

 

Hope this helps,

Connor

Comments

Connor B
Connor BAnswer
Lucid product team
Feb 26, 2025 7:58 PM UTC

Hello Michel,

 

Did you change the callbackBaseUrl in the manifest file to point towards wherever you are hosting your data connector? Another thing to check is that the ID within your manifest file matches the ID of the package you uploaded the zip file to. See the docs here for more details.

 

Hope this helps,

Connor

Translate
Michel L
Michel LAuthor
Feb 26, 2025 9:04 PM UTC

Hi ​@Connor B 

Thanks for your reply. Yes that is the problem.

The sample must be modified for running when published because there will not be any server to serve the callbackBaseUrl  http://localhost:3001/?kind=action&name=.

So the Sample, as is, works only locally.

Regards.

Translate
Michel L
Michel LAuthor
Jul 8, 2025 3:34 PM UTC

Anyone interested in, can look at the project in my repository:

https://github.com/MichelLaplane/VisualLucidChartDataConnector

Enjoy.

Translate