[Bug - Add-ons API] Package upload status endpoint fails but does not provide any errors
Describe the bug
Since at least July 17, 2024, the package upload status endpoint (/v1/products/$productID/submissions/draft/package/operations/$operationID) described in the documentation has been returning a Failed status, with no error code or errors. Eg:
{"id":"<operation ID>","createdTime":"2024-07-25T19:24:34.5993321Z","lastUpdatedTime":"2024-07-25T19:24:35.5066662Z","status":"Failed","message":"An error occurred while performing the operation","errorCode":null,"errors":null}
We have seen this across multiple extensions. Manually uploading via the Partner Center is still functional.
To Reproduce Follow the steps to upload an extension package using the API outlined at https://learn.microsoft.com/en-us/microsoft-edge/extensions-chromium/publish/api/using-addons-api
- Upload a package
- Attempt to retrieve the status of the upload operation via
/v1/products/$productID/submissions/draft/package/operations/$operationID - See that the response is
"status":"Failed", but with noerrorCodeorerrorslisted.
Expected behavior
A response containing "status":"InProgress" or "status":"Suceeded", or at very least some information about the errors encountered.
Desktop (please complete the following information):
- OS: macOS/Linux
- Browser: Edge (or
curlornodejsfor the API
Additional context
We have seen this across two different $productID values.
Same here!
Tried with @plasmohq/edge-addons-api or manually with fetch in Node.js (on macOS) carefully following the documentation and it's giving me the same error
We had the issue since July 12th on our end, and it's been blocking our automated release pipeline
@valenvb-ag @MaximeHeckel Can you guys confirm whether you are still seeing this issue?
@yvsubhash just tried now and was able to push a draft using the API
Thank you for the quick fix!
Confirmed, we're able to push up packages via API again as well! Thanks for getting this resolved!
I have also encountered this problem. The draft was uploaded and verified successfully, but the publish failed, with the same response result and error message as yours.
However, it can be published manually and successfully with just one click on the Publish button in the dashboard page.
I was able to publish just fine not long ago, so what happened?
Edit: A few days passed. I could now publish packages via the API.