'Dialogflow knowledge base not working in mega agent
Dialogflow Knowledge base not working in Mega agent , its showing knowledge base connector error
intent call
'method': 'POST',
'url': 'https://dialogflow.googleapis.com/v2beta1/projects/xxxxxxx/agent/sessions/123456789:detectIntent',
'headers': {
'Authorization': 'Bearer ' + token,
'content-type': 'application/json'
},
body: JSON.stringify({
"queryInput": { "text": { "text": text, "language_code": "en-US" } },
"queryParams": {
"subAgents": [
{ "project": "projects/xxxxxxxxxxx" },
{ "project": "projects/xxxxxxx" },
{ "project": "projects/xxxxxxxxxx" },
]
}
})
getting error after searching knowledge base questions.
diagnosticInfo: {
knowledge_connector_error: "INVALID_ARGUMENT: UNAUTHORIZED: You can't query KnowledgeBase under project: xxxxxx, which is different than your agent project: xxxxxx"
},
languageCode: 'en',
sentimentAnalysisResult: { queryTextSentiment: [Object] }
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
