Skip to main content
Answer

Github Data Connector Example don't work when publshed

  • February 24, 2025
  • 3 replies
  • 42 views

Michel L
Forum|alt.badge.img+11

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.

Best answer by Connor B

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
Forum|alt.badge.img+2
  • Lucid product team
  • Answer
  • February 26, 2025

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


Michel L
Forum|alt.badge.img+11
  • Author
  • February 26, 2025

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.


Michel L
Forum|alt.badge.img+11
  • Author
  • July 8, 2025

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

https://github.com/MichelLaplane/VisualLucidChartDataConnector

Enjoy.