locked
Bot Builder SDK returning Unauthorized error RRS feed

  • Question

  • Hi,

    We have created a bot using c# sdk and tried to access the bot, it throws "invalid status code - Unauthorized" error.

    Even,we are passing the "MicrosoftAppId" and "MicrosoftPassword" while accessing the bot, but still getting the "unauthorized" error.

    We are using the azure storage to store the conversation data, for that also we are passing the respective bot azure storage connection strings properly.

    Below listed dlls using in our c# application to access the bot.

    i)Microsoft.Bot.Builder -Version 3.15.2.2 or greater

    ii)Microsoft.Bot.Connector -Version 3.15.2.2 or greater

    iii) Microsoft.Bot.Connector.Directline -Version 3.0.2.2

    Please guide us to proceed further.

    ~Thanks

    KM

    Wednesday, September 26, 2018 1:13 PM

All replies

  • Hi KM2018,

    Thank you for posting here.

    Since your question is more related to bot, you could post a new thread in StackOverFlow.

    https://stackoverflow.com/questions/tagged/botframework

    The Visual C# forum discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, September 27, 2018 8:37 AM