{"version":"2.1.267","anchor":"new-error-classification-cloud-credential-error","canonical_anchor":"new-cloud-credential-error-category-alongside-wif-credential","heading":"New 'cloud_credential_error' classification for Google Cloud credential failures","tier":"internal","area":"Error Handling","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267\/e\/new-error-classification-cloud-credential-error","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267","markdown":"### New 'cloud_credential_error' classification for Google Cloud credential failures\n\nGoogle Cloud credential failures are now classified and reported separately from AWS credential errors and generic auth failures\n\n**What**\n\n- A new error category, `cloud_credential_error`, is added for Google Cloud credential failures, alongside the existing AWS-specific `wif_credential_error`.\n\n- A new check inspects an error and reports which cloud provider, AWS or Google Cloud, a credential failure came from, setting an `isCloudCredentialError` flag on API-error objects when it fires.\n\n- The generic API error classifier now returns `cloud_credential_error` for these cases, separate from the existing `rate_limit`, `authentication_failed`, and `server_error` buckets, and treats it as non-fatal like other similar categories.\n\n- A new account-blocking state maps to this case with the message \"cloud credentials unavailable \u2014 check or refresh them\", and `cloud_credential_error` is also recognized as an abort\/error reason throughout the relevant classification and error-code mapping logic.\n\n- Documentation describing this error handling was widened from \"AWS credential-expiry error\" to \"AWS \/ Google Cloud credential failure\".\n\n**Why** Previously a Google Cloud credential problem might have been lumped in with generic authentication failures, making it harder to tell what actually went wrong. Now it's classified distinctly so error messages and handling can point specifically at cloud credential issues.\n\n- Area: Error Handling\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}