侧面加载 Microsoft Teams 加载项时出错

Error side-loading Microsoft Teams add-in

加载清单时,我收到错误消息 "something went wrong"。清单如下:

{
  "$schema": "https://statics.teams.microsoft.com/sdk/v1.0/manifest/MicrosoftTeams.schema.json", 
  "manifestVersion": "1.0",
  "version": "1.0.0",
  "id": "c946e298-5e6a-4e12-8e33-66dfd07a27c3", 
  "packageName": "com.parrot365.com",
  "developer": {
    "name": "Acrowit Inc, DBA WittyParrot Inc",
    "websiteUrl": "https://www.parrot365.com/",
    "privacyUrl": "https://www.parrot365.com/privacy.html",
    "termsOfUseUrl": "https://www.parrot365.com/term.html"
  },
  "name": {
    "short": "Parrot365",
    "full": "Parrot365 Teams Assistant"
  },
  "description": {
    "short": "Parrot365 Teams Assistant",
    "full": "Key value proposition for users include (1) Productivity increase by up to 2.5 times (2) Consistent message deliver across your entire team (3) Personalization of message on the fly at the point of use using placeholders (4) Mass emailing with email tracking and drip campaigns using your email server which guarantees email delivery into recipients inbox"
  },
  "icons": {
    "outline": "https://o365widget.wittyparrot.com/assets/images/widget_logo.png", 
    "color": "https://o365widget.wittyparrot.com/assets/images/wp_logo_80px.png" 
  },
  "accentColor": "#ffffff",
  "configurableTabs": [
    {
      "configurationUrl": "https://widget.parrot365.com",
      "canUpdateConfiguration": true,
      "scopes": [ "team" ]
    }
  ],
  "staticTabs": [
    {
      "entityId": "idForPage",
      "name": "Parrot365",
      "contentUrl": "https://widget.parrot365.com",
      "websiteUrl": "http://widget.parrot365.com",
      "scopes": [ "personal" ]
    }
  ],
  
  "permissions": [
    "identity",
    "messageTeamMembers"
  ],
  "validDomains": [
     "*.parrot365.com",
     "*.wittyparrot.com"
  ]
}

我很惊讶错误消息并不具体,但确实如此。我使用 online validator 来验证您的 JSON 是否符合架构。以下是错误:

.staticTabs[0].websiteUrl   should match pattern "^[Hh][Tt][Tt][Pp][Ss]://" "http://widget.parrot365.com"

基本上你不能使用非 SSL URL。通过将“http”更改为“https”JSON 将有效。

这似乎是完整描述长度的问题。尽管模式定义允许很长的条目,但只有当我们减少了很长的描述长度时,我们才能加载您的示例。我们会将其记录为错误。对于给您带来的不便,我们深表歉意!

仅供参考,如果您考虑将来提交 Office Store,当产品内应用程序发现完全启用时,最终用户将看到在卖家控制面板中输入的元数据中的条目,而不是此清单字段。