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

Upload failed due to an invalid BotId in your manifest #11146

Closed
pm7y opened this issue Mar 21, 2024 · 6 comments
Closed

Upload failed due to an invalid BotId in your manifest #11146

pm7y opened this issue Mar 21, 2024 · 6 comments
Assignees
Labels
investigating needs attention This issue needs the attention of a contributor. TA:E2E Team Area: E2E upstream The issue is tracked external dependency

Comments

@pm7y
Copy link

pm7y commented Mar 21, 2024

Describe the bug
Unable to test/deploy a new bot app due to "Upload failed due to an invalid BotId in your manifest".

To Reproduce
Steps to reproduce the behavior:

  1. Create new C# teams echo bot in visual studio 2022 using the template
  2. Follow the instructions and run the app
  3. See error

Expected behaviour
I'm able to upload the app and then chat with it

Screenshots
image

Additional context

  • Visual Studio 2022, with latest bot templates and .net 8.0 etc.
  • I am able to debug the app locally via the Bot Emulator.
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs attention This issue needs the attention of a contributor. label Mar 21, 2024
@sarhaang
Copy link

sarhaang commented Mar 21, 2024

+1

i have a simple chatbot running, I had to redeploy the app and bot today for some reason and it no longer works after redeploying it.

  • when i upload a manifest manually: The new teams client just fails with Uncaught (in promise) SyntaxError: "[object Object]" is not valid JSON and the old teams client returns Upload failed due to an invalid BotId in your manifest.
  • The manifest is correctly validated by developer portal.
  • it was working just fine as of 3pm EST on March 20th.
  • test in web chat works fine
  • if i click on 'Channels' in azure bot settings and click on 'Open in Teams' it does not work either

@nliu-ms
Copy link
Contributor

nliu-ms commented Mar 21, 2024

Hey @pmcilreavy @sarhaan7 , sorry for the inconvenience! This issue is possibly related to bot infra service, we can reproduce the error. We're trying to contact that team for more investigation.

Please check your network, let me know if you meet the same API failure/ error code:
image
image

@nliu-ms nliu-ms added the upstream The issue is tracked external dependency label Mar 21, 2024
@pm7y
Copy link
Author

pm7y commented Mar 21, 2024

@nliu-ms Yes confirmed.

image

@nliu-ms
Copy link
Contributor

nliu-ms commented Mar 22, 2024

Hey @pmcilreavy @sarhaan7, there was an outage from bot infra underneath, and it's recovered few hours ago. This issue should be mitigated. Please let me know if your apps can work now.

If you're still meeting the same failure, can you please provide the detailed failure response of https://teams.microsoft.com/api/apps/part/msft/beta/users/apps/definitions/appPackage API? Especially the timestamp and X-serverrequestid header from error response.

Thanks!

@pm7y
Copy link
Author

pm7y commented Mar 22, 2024

Yeah, seems good now.

@nliu-ms
Copy link
Contributor

nliu-ms commented Mar 22, 2024

Thanks for the confirmation @pmcilreavy

@nliu-ms nliu-ms closed this as completed Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating needs attention This issue needs the attention of a contributor. TA:E2E Team Area: E2E upstream The issue is tracked external dependency
Projects
None yet
Development

No branches or pull requests

5 participants