Forum Discussion

norxnd's avatar
norxnd
Brass Contributor
Nov 04, 2020

Problem with Bot Framework

I have created a simple bot. And it's 100% working on the emulator. (I have tested it) But when I have created it on real-teams via https://dev.botframework.com/bots/new and via manually uploading manifest created in App Studio. Then I set up server on repl.it. But always I got this error:

 

 

PermissionError: [Errno Unauthorized. Invalid AppId passed on token: ] [*]

 

 

* - ID of App created in App Registrations

  • Ok. I solved the problem for myself! That was very easy and it was a problem with my code. I needed to add AppID and Password from App Studio to my Adapter class.

    • norxnd's avatar
      norxnd
      Brass Contributor

      Nikitha-MSFTWell I'm trying to make a Teams chatbot that will react to messages and do some actions and I just do not know what to do. I'm probably doing everything wrong because I don't understand any of this API / Framework at all. I do not have an Azure subscription.

       

      Hare is my test code: https://repl.it/@NORXND/teams?lite=true

       

      And I do not know If it has auth. I do not know anything

  • norxnd's avatar
    norxnd
    Brass Contributor

    Ok. I solved the problem for myself! That was very easy and it was a problem with my code. I needed to add AppID and Password from App Studio to my Adapter class.

  • EricStarker's avatar
    EricStarker
    Icon for Community Manager rankCommunity Manager
    Hello! This question has been asked and answered and I'm closing the thread for new replies. Please remember that any external ads/links (of which I've removed many on this thread) are not allowed on Tech Community and are subject to deletion or ban when they occur.

Resources