Closed 0mpurdy closed 6 months ago
This seems like the same issue I had so please see https://github.com/microsoft/appcenter-cli/issues/2476 Updating Node.js has been found to resolve the issue
Thank you, saw that and been doing some experimentation with mixed results
Using
Node 20.11.1 x64 npm 10.2.4
With app scope token, I have seen it succeed but more often fails with the following error on both platforms (iOS and Android):
Error: Loading release id failed with error: failed to get release id for upload id:
********-****-****-****-************
, error: {"succeeded":false,"errorCode":3,"errorMessage":"failed to get release id with HTTP status: 404 - Not Found"}
As it's part of a pipeline a failure like this prevents automatic tagging of releases etc.
I did check to see if this is a current AppCenter API issue, but "Distribute" is operational at the moment: https://status.appcenter.ms/
We're also experiencing the 404 error today with intermittent successes. The build is uploaded but the distribute step is failing.
A potential workaround is dropping back to 2.14.0. If you use npx to run then e.g. npx appcenter-cli@2.14.0
should achieve this. If the 404 errors continue with the earlier version and Node.js 14 then it would appear to be a service issue
UPDATE: I tried 2.14.0 once with Node.js v20 and once with v14 with the same 404 error
Hello and thank you for reaching out to us! I'll close this issue as a duplicate of this one. At the time of the connection error that you described, we were experiencing issues with the Distribute service, which have been fixed at this moment. But if you are still experiencing it, feel free to contact us.
Description
When running certain commands with a full access token (tried both App and User scope) in a pipeline the command fails
Commands:
Error:
Repro Steps
Please list the steps used to reproduce your issue.
appcenter distribute release --token $(APPCENTER_TOKEN)
Expected behavior
App should be uploaded to AppCenter without errors
Details
appcenter distribute release --token $(APPCENTER_TOKEN)
DEBUG="appcenter-cli:*"
before the command, for example,DEBUG="appcenter-cli:*" appcenter apps list
. Include the logs here, don't forget to omit any personal/sensitive data.