Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get any of the samples work - at last stage #1030

Open
lokeshv23 opened this issue Sep 15, 2023 · 2 comments
Open

Unable to get any of the samples work - at last stage #1030

lokeshv23 opened this issue Sep 15, 2023 · 2 comments
Assignees
Labels

Comments

@lokeshv23
Copy link

Hello,

I am able to setup the code or us Teams Toolkit on VS code to build the bot. Everything works fine - creating Bot services, Restify server starts fine, Browser opens and allows to add app - but when I call REST API to send notification - no notification is received at Bot's end.

What am I missing here. Please help

@microsoft-github-policy-service

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

@qinezh
Copy link
Contributor

qinezh commented Sep 19, 2023

@lokeshv23 are you running the bot app in local? If so, can you check if the file .notification.localstore.json is empty, which stores notification connections.

Teams sends an event only at the first installation. If the bot app is already installed before your notification bot service is launched, either the installation event didn't reach the bot service or is omitted.

You can resolve this issue in the following ways:

  • Send a message to your personal bot or mention your bot in group chat or channel, which helps you to reach the bot service again with correct installation information.
  • Uninstall the bot app from Teams then redebug or relaunch it. You can resend the installation event to bot service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants