OfficeDev / OfficeDev/Office-Addin-Scripts

Unable to sideload Unified Manifest due to 429 error

Open
#964 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs triage
Dominant language
TypeScript
Stars
194
Forks
117
Avg merge
1d 32m
Merged PRs (30d)
2

Description

Expected behavior

Expect that running office-addin-debugging start manifest.json command should sideload and start the associated add-in.

Current behavior

Sideloading fails with a 429 error (full error message below). This has been happening for over a week now, all unified manifests are impacted even brand new scaffolded projects.

--Error sideloading!--
Error: Error: Command failed: npx -p @microsoft/m365agentstoolkit-cli atk install --file-path "C:\Users\JACKST~1\AppData\Local\Temp\manifest.zip" --interactive false
(×) Error: m365.InternalError: Request failed with status code 429 (tracingId: ) undefined: undefined

STDERR:
(×) Error: m365.InternalError: Request failed with status code 429 (tracingId: ) undefined: undefined

Error: Unable to start debugging.
Error: Unable to sideload the Office Add-in.
Error: Command failed: npx -p @microsoft/m365agentstoolkit-cli atk install --file-path "C:\Users\JACKST~1\AppData\Local\Temp\manifest.zip" --interactive false       
(×) Error: m365.InternalError: Request failed with status code 429 (tracingId: ) undefined: undefined

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Create a unified manifest Office Addin project
  2. Use office-addin-debugging to attempt to start the project locally
  3. Observe the error

Context

First noticed on office-addin-debugging version 6.0.4 but have reproduced on latest version 6.0.6 too.

This entirely blocks debugging unified manifest apps. An equivalent XML manifest for the same project does not suffer this issue and can sideload and launch as expected.

Possibly related to: https://github.com/OfficeDev/microsoft-365-agents-toolkit/issues/14684#issuecomment-3502090793

Failure Logs

Please include any relevant log snippets, screenshots or code samples here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with a unified manifest using the office-addin-debugging start manifest.json command on versions 6.0.4 and 6.0.6, and compare it with the working XML-manifest flow. Review the referenced Microsoft 365 Agents Toolkit issue and trace the reported 429 from the atk install invocation. Done means unified manifests can be sideloaded and debugging starts without the 429 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.