OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
434 stars 171 forks source link

(×) Error: teamsApp/extendToM365 failed. (×) Error: Request failed with status code 406 (tracingId: ) NotAcceptable: Error with the data stored in cache. This is most likely due to an error with the package being uploaded #11904

Open cardinalpipkin opened 1 week ago

cardinalpipkin commented 1 week ago

When trying to debug Teams app it gets to step 6 and errors saying: (×) Error: teamsApp/extendToM365 failed. (×) Error: Request failed with status code 406 (tracingId: 00-33e7f2365b1510fab2f65c903eaa66be-d4d6c94ea35f01bb-00) NotAcceptable: Error with the data stored in cache. This is most likely due to an error with the package being uploaded

To Reproduce

  1. Load VSC
  2. Go to project
  3. Click Teams Toolkit extension
  4. Make sure signed in
  5. Click debug in local environment

Expected behavior To load a Teams debug window and the app

VS Code Extension Information (please complete the following information):

CLI Information (please complete the following information):

Additional context I have commented out the below in the teamsApp.local.yml file:

  # Extend your Teams app to Outlook and the Microsoft 365 app
 # - uses: teamsApp/extendToM365
  #  with:
      # Relative path to the build app package.
  #    appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip
    # Write the information of created resources into environment file for
    # the specified environment variable(s).
  #  writeToEnvironmentFile:
 #     titleId: M365_TITLE_ID
 #     appId: M365_APP_ID

which seems to bypass this extendtoM365 (whatever it is) and successfully works around the error, but is this something that I'm causing in my app (I did not change any code before or since it started erroring)?

microsoft-github-policy-service[bot] commented 1 week ago

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.

xiaolang124 commented 1 week ago

Thanks, we will investigate this. By the way, are you still encountering this issue?