microsoft / StoreBroker

A PowerShell module that leverages the Windows Store Submission API to allow easy automation of application submissions to the Windows Store. The master branch is stable and the v2 branch is under active development.
Other
97 stars 40 forks source link

How do we troubleshoot / get support for Submission API errors? #235

Closed riverar closed 1 year ago

riverar commented 1 year ago

Our pipeline has been failing for a few weeks now for unknown reasons. I opened a ticket for Dev Center support on October 29 but haven't heard back (which is not unusual for that team).

Any thoughts on how to move forward here? We're blocked.

...
/  Elapsed: 5 second(s) [Replacing the content of Submission: 1152921505695514494 for App: ***]
-  Elapsed: 5 second(s) [Replacing the content of Submission: 1152921505695514494 for App: ***]
\  Elapsed: 5 second(s) [Replacing the content of Submission: 1152921505695514494 for App: ***]
|  Elapsed: 5 second(s) [Replacing the content of Submission: 1152921505695514494 for App: ***]
DONE (FAILED) - Operation took 5 second(s) [Replacing the content of Submission: 1152921505695514494 for App: ***]
VERBOSE: 2022-11-06 00:36:07 : runneradmin : MS-CorrelationId: 13914016-f866-4e03-922f-4035ede7e8ca
Write-Log : 2022-11-06 00:36:07 : runneradmin : Write-Log : 2022-11-06 00:36:07 : runneradmin : 500 | Internal Server 
Error
The remote server returned an error: (500) Internal Server Error.
InternalServerError : An internal server error occurred while processing the operation.
MS-CorrelationId: 13914016-f866-4e03-922f-4035ede7e8ca
At C:\Program Files\WindowsPowerShell\Modules\StoreBroker\1.21.0\StoreBroker\StoreIngestionApi.psm1:2116 char:17
+                 Write-Log -Message $newLineOutput -Level Error
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Log

At C:\Program Files\WindowsPowerShell\Modules\StoreBroker\1.21.0\StoreBroker\StoreIngestionApplicationApi.ps1:1354 
char:9
+         Write-Log -Exception $_ -Level Error
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Log
riverar commented 1 year ago

From manage.devcenter.microsoft.com/v1.0/my/applications/.../submissions/... directly:

{"code":"InternalServerError","data":[],"details":[],"innererror":{"code":"UnknownInternalFailure","data":[],"details":[],"message":"The service has encountered an unknown internal server error: "},"message":"An internal server error occurred while processing the operation.","source":"Ingestion Api"}
riverar commented 1 year ago

Only option is to hack/slash the submission JSON or somehow get in touch with the Ingest API owners. Will close as there's nothing to do here.