0

I am try to setup azure function with HTTP triggered and make subsequent call to azure bot framework [bot service on azure].

Following is the error i encountered while setting it up:

{
  "id": "ed81eca8-d536-4534-a97d-66e6a7ca7ad2",
  "requestId": "ba346904-702b-465c-b7e3-b48afe29ab33",
  "statusCode": 500,
  "errorCode": 0,
  "messsage": "Exception while executing function: Functions.adapter -> Unable to resolve value for property 'BotAttribute.SecretSetting'."
}

Env:

Related questions:

2
  • Looking at the first linked question: do you have 'secret' set to the name of an app setting with your secret? Commented May 22, 2017 at 17:52
  • @MattMason-MSFT I found the solution. The secret was defined but i was returning value in a wrong way in azure function. i.econtext.done(done,data) where i was passing incoming data directly to output which did not hold secret, rather than modified version of data. Commented May 23, 2017 at 7:37

1 Answer 1

1

The secret was defined but i was returning value in a wrong way in azure function. i.e context.done(done,data) where i was passing incoming data directly to output which did not hold secret, rather than modified version of data.

Sign up to request clarification or add additional context in comments.

1 Comment

The error continues after having BotFramework as Input along with Output to the same bot.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.