Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

BF-CLI : QNA-KB Export Issue #1341

@rcs-phamax

Description

@rcs-phamax

Versions

CLI version : 4.15.0 win32-x64
Nodejs version : 14.15.0
command-line interpreters : Windows Power Shell
OS : Windows 10

Describe the bug

Trying to run the BF-CLI command to export the QnA-Maker KB which throws an Unknown isuue.

Command :
bf qnamaker:kb:export --endpoint --kbId --subscriptionKey --environment prod --qnaFormat > qna_export.qna
OR
bf qnamaker:kb:export --endpoint --kbId --subscriptionKey --environment prod > qna_export.json

To Reproduce

Steps to reproduce the behavior:

  1. Install BF -CLi; Get QnA-Maker endpoint and ID's
  2. Run the command after adding all config values

Expected behavior

The Command is supposed to connect to the atrget QnA-Maker Knowledge Base and export the KB in either JSON or QNA format to STDOUT.
Instead command is throwing an "Unknown Issue" instantly

Screenshots

BF-CLi-qnaExport_issue

Additional context

Here's the issue response on running the command :
Unknown error during execution. Please file an issue on https://github.com/microsoft/botframework-cli/issues
Converting circular structure to JSON
--> starting at object with constructor 'Socket'
| property '_httpMessage' -> object with constructor 'ClientRequest'
--- property 'socket' closes the circle

Here's the Documentation I followed : https://www.npmjs.com/package/@microsoft/botframework-cli#bf-qnamakerkbexport
[bug]

Metadata

Metadata

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions