Skip to content

Commit

Permalink
Add message for a known Google API error (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisRumyantsev authored Dec 13, 2023
1 parent 80213a1 commit ab45076
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Tasks/GooglePlayReleaseV4/modules/googleutil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,14 @@ async function retryUploadError(
tl.debug(`Failed to upload "${file}" due to a known Google API error. Attemps left: ${attemptsLeft}`);

if (attemptsLeft === 0) {
tl.error(`Failed to upload "${file}" due to a known Google API error.
This error most likely is caused by an outage on the Google side.
It is recommended to look for similar issues on the Google Issue Tracker, in the repo of the googleapis npm package, and in the repo of the Google Play VSTS extension as well, and create a new one if it is not created yet.
* Repo of the Google Play VSTS extension: https://github.com/microsoft/google-play-vsts-extension/issues
* Repo of the googleapis npm package: https://github.com/googleapis/google-api-nodejs-client/issues
* Google Issue Tracker: https://issuetracker.google.com/issues?q=Request%20is%20missing%20required%20authentication%20credential
`);

throw error;
}

Expand Down

0 comments on commit ab45076

Please sign in to comment.