microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.
MIT License
7.47k stars 2.44k forks source link

Getting "Something went wrong" error pop when add a custom app #6600

Closed Serginyo90 closed 1 year ago

Serginyo90 commented 1 year ago

Version

I used Teams Toolkit extension v5.0.0 for VSC for building zip file.

Describe the bug

I created new Custom Tab application with Bot. And installed new application. But I got the error when tried to install app for user. I provided screenshots, manifest, and response from /entitlements 400

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://admin.teams.microsoft.com/policies/manage-apps
  2. Click on + Upload new app
  3. Upload the zip file provided below
  4. Try to install the App for any user from your tenant

Expected behavior

Application must be installed successfully.

Screenshots

Screenshot 2023-06-07 at 11 10 44 Screenshot 2023-06-07 at 11 11 16 image

Additional context

response for /entitlements 400 { "manifestVersion": "1.13", "version": "2.3.45", "externalId": "00ee80e5-4b5c-4d62-a1a5-c12b890b445a", "developerName": "Teams App, Inc.", "developerUrl": "https://prohabits.com", "privacyUrl": "https://prohabits.com/privacy-policy", "termsOfUseUrl": "https://prohabits.com/how-it-works-2", "validDomains": [ "mabbly.wistia.com", "youtube.com", "youtu.be", "prohabits.com", "typeform.com", "assets.prohabits.com", "assets.dev.prohabits.com", "assets.stg.prohabits.com", "localhost:53000" ], "bots": [ { "id": "00ee80e5-4b5c-4d62-a1a5-c12b890b445a", "scopes": [ "Personal", "Team", "GroupChat" ], "isNotificationOnly": true, "supportsCalling": false, "supportsVideo": false, "supportsFiles": false } ], "galleryTabs": [ { "canUpdateConfiguration": true, "configurationUrl": "https://assets.dev.prohabits.com/mst/2.3.45/index.html#/config", "scopes": [ "Team", "GroupChat" ] } ], "staticTabs": [ { "entityId": "conversations", "scopes": [ "Personal" ] }, { "entityId": "dashboard", "name": "Community", "contentUrl": "https://assets.dev.prohabits.com/mst/2.3.45/index.html#/dashboard", "scopes": [ "Personal" ] }, { "entityId": "myActivities", "name": "Progress", "contentUrl": "https://assets.dev.prohabits.com/mst/2.3.45/index.html#/myActivities", "scopes": [ "Personal" ] }, { "entityId": "settings", "name": "Settings", "contentUrl": "https://assets.dev.prohabits.com/mst/2.3.45/index.html#/settings", "scopes": [ "Personal" ] }, { "entityId": "leaderboard", "name": "Leaderboard", "contentUrl": "https://assets.dev.prohabits.com/mst/2.3.45/index.html#/leaderboard", "scopes": [ "Personal" ] } ], "isFullScreen": false, "webApplicationInfo": { "id": "00ee80e5-4b5c-4d62-a1a5-c12b890b445a", "resource": "https://localhost:3000" }, "showLoadingIndicator": false, "tenantId": "f8ed7ee1-1d5c-48b5-b6c3-6a31e6fc84b7", "activities": { "activityItems": [ { "type": "Daily MicroActivity", "description": "Morning Notification", "templateText": "{activityName}" }, { "type": "Mention", "description": "User were mentioned by someone", "templateText": "{mention}" } ] }, "defaultInstallScope": "Personal", "defaultBlockUntilAdminAction": false, "shortDescription": "ProHabits Dev New is created for motivation", "longDescription": "ProHabits Dev New makes people better and better each day. We are here 24/7 to help you achieve your goals. *Note: If you were sent to this page unexpectedly, please sign out of teams to update this app.", "accentColor": "#FFFFFF", "id": "a9df57de-2c1b-4f04-a6c2-7e50ad7e9f57", "name": "ProHabits Dev New", "smallImageUrl": "https://us-prod.asyncgw.teams.microsoft.com/v1/objects/0-cus-d7-3ef57f2996d30a35ffb0bf559cee512a/views/imgpsh_fullsize", "largeImageUrl": "https://us-prod.asyncgw.teams.microsoft.com/v1/objects/0-cus-d19-630c5aa9e970144cf0d9e72780cf16ec/views/imgpsh_fullsize", "isMobileOnly": false }

Manifest appPackage.dev.zip

Serginyo90 commented 1 year ago

Solved in https://github.com/MicrosoftDocs/msteams-docs/issues/8801