-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Type of Connector
Custom Connector
Name of Connector
Virtual Data Platform
Describe the bug
When changing the apiProperties.json as described in the enhanced-connector-sample to:
"capabilities": ["tabular", "federatedKnowledgeSource"]
I receive the following error during paconn update:
{
"error": {
"code": "ApiDefinitionCapabilitiesInvalid",
"message": "The custom connector property 'Capabilities' is not a string array."
}
}
I do not get an error when removing "federatedKnowledgeSource".
Less important, but I would be thankful for a hint: If "capabilities" is set to ["tabular"] and I run an update and a download afterwards, in some cases the "tabular" value has disappeared completely. I've not yet identified a reproducable setup.
Is this a security bug?
No, this is not a security bug
What is the severity of this bug?
Severity 2 - One or more important connector features are down
To Reproduce
add "federatedKnowledgeSource" to the capabilities of a working apiProperties.json and try to update the connector via paconn.
Expected behavior
Successful update with no "ApiDefinitionCapabilitiesInvalid" Error.
Environment summary
paconn v0.0.20
Windows 11
PSVersion 7.5.4
python 3.11.0
Additional context
I followed the documentation on how to create an enhanced custom connector:
https://learn.microsoft.com/en-us/connectors/custom-connectors/enhanced-connectors