Skip to content

DialogContextError: DialogStateManager.getValue: a scope of 'json' wasn't found #3744

Closed

Description

Describe the bug

After installing the custom js runtime I am seeing this errors after making a HTTP request. The initial error is:

value:"DialogContextError: DialogStateManager.getValue: a scope of 'json' wasn't found."
if I change the response type to blank then I see:
DialogContextError: args[0].trim is not a function

Version

Bot Framework Composer

Version: 1.4.1
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0

Browser

  • Electron distribution
  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • [ x] macOS
  • Windows
  • Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Add JS runtime
  2. Make HTTP request in a dialog

Expected behavior

The HTTP request is successful and the response is saved to a variable

Screenshots

Screen Shot 2021-05-14 at 12 50 52 PM

Screen Shot 2021-05-14 at 12 53 21 PM

Additional context

This was working fine before adding the custom runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions