Skip to content

memory scopes:[] error in multi turn with QABotAllFeature #4037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
OD-NiteshD opened this issue Feb 17, 2025 · 5 comments · May be fixed by microsoft/botbuilder-dotnet#6886
Open

memory scopes:[] error in multi turn with QABotAllFeature #4037

OD-NiteshD opened this issue Feb 17, 2025 · 5 comments · May be fixed by microsoft/botbuilder-dotnet#6886
Assignees
Labels
bug Indicates an unexpected problem or an unintended behavior.

Comments

@OD-NiteshD
Copy link

Hello,

I am having an issue with multiturn with QABotAllFeature.
I am getting below error : https://www.botframework.com/schemas/error"
value:"Unable to emit the error as a DialogEvent. ('turn' does not match memory scopes:[] (Parameter 'key')) ('turn' does not match memory scopes:[] (Parameter 'key'))

I am not able to rectify this. can anyone help me how to resolve this ?
Thank you.

Image
@stevkan stevkan self-assigned this Feb 19, 2025
@stevkan
Copy link
Collaborator

stevkan commented Feb 19, 2025

@OD-NiteshD - Can you clarify...

  • Which SDK you are using (C#, JS, or Python) and version?
  • Which sample you are using by either a link or supplying the exact name (e.g., csharp_dotnetcore/18.bot-authentication)?
  • If you made any code changes other than specifying secrets, key, etc.?
  • If any code changes were made (other than the above mentioned), can you supply your code so that I may see and test with it?

@OD-NiteshD
Copy link
Author

OD-NiteshD commented Feb 20, 2025

@stevkan

  1. I am using c# .net core SDK.
  2. I am talking about samples/csharp_dotnetcore/48.customQABot-all-features.
  3. I have not made any code changes other than specifying secrets, key.
  4. No changes in source code.

samples/csharp_dotnetcore
Git URL : https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/csharp_dotnetcore

@OD-NiteshD
Copy link
Author

@stevkan any update on this ?

@stevkan
Copy link
Collaborator

stevkan commented Mar 17, 2025

@OD-NiteshD - Thank you for your patience. We are still digging into this issue. We will update when we know more.

@stevkan stevkan added the bug Indicates an unexpected problem or an unintended behavior. label Mar 17, 2025
@sw-joelmut
Copy link
Collaborator

Hi @OD-NiteshD,

While waiting on a new release containing the PR#6886 changes, use the following workaround (image - ComponentRegistration) in the Setup.cs file to register the dialogs "memory scopes".
Note: the DialogsBotComponent instance is no longer needed, as it is done in the component registration.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants