botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

BotService suddenly started throwing "Value cannot be null" errors

Open s-r-k opened this issue 9 years ago • 6 comments

Bot Info

  • BOT ID: byonder
  • AppID: 45a65ff9-5966-4bc4-a09b-f1731c2199bc
  • SDK Platform: .NET
  • SDK Version: Microsoft.Bot.Builder.Azure 3.2.3
  • Active Channels: Direct Line
  • Deployment Environment: Azure Bot Service

Issue Description

I am running a Bot on AzureBotService. Suddenly, with no change from my side, I have started seeing this error in the logs:

2017-09-22T23:25:28.924 Exception while executing function: Functions.messages. Microsoft.Azure .WebJobs.Script: One or more errors occurred. Microsoft.Bot .Connector: Value cannot be null. Parameter name: connectionString.

The bot throws this error for every incoming message, and fails.

Deploying the identical code on a new BotService instance works. I don't know what has changed.

s-r-k avatar Sep 22 '17 23:09 s-r-k

Hi @s-r-k , What is the bot id (Bot handle in dev.botframework.com) and Microsoft App Id?

msmohan avatar Sep 22 '17 23:09 msmohan

Updated the earlier comment with the Bot id and AppId

s-r-k avatar Sep 22 '17 23:09 s-r-k

We are currently investigating this. Thank you for reporting the issue. We will update once we have a resolution.

EricDahlvang avatar Sep 23 '17 00:09 EricDahlvang

The issue is resolved. Please try the bot now.

EricDahlvang avatar Sep 23 '17 19:09 EricDahlvang

Thank you.

s-r-k avatar Sep 24 '17 14:09 s-r-k

Hi @EricDahlvang i am facing same type of issue my Bot is throwing error Value cannot be null. Parameter name: clientId

I have also created a new issue too https://github.com/microsoft/botframework-sdk/issues/5392 Please help

tinuCoder avatar May 13 '19 04:05 tinuCoder