GCP Cloud Discovery Fails Due to JAVASCRIPT_CODE_FAILURE: java.security.InvalidKeyException<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Issue: GCP Cloud Discovery fails with the following error: Exception occurred while executing operation Cloud REST Query. Custom operation Failed to run script due to the following error: JAVASCRIPT_CODE_FAILURE: java.security.InvalidKeyException: IOException : DerInputStream.getLength(): lengthTag=11, too big. (script_include:GoogleApiCommand; line 244) Cause: The private key in the GCP service account JSON file is malformed, truncated, or not in the expected PKCS#8 DER format. Steps to Reproduce:1. Configure a GCP credential in ServiceNow using a JSON key file2. Run a GCP Cloud Discovery schedule3. Observe the error in patterns logsResolution:1. Download a fresh JSON key from the GCP Console.2. Inspect the key, confirm the private_key starts with -----BEGIN PRIVATE KEY-----.3. Ensure the key is: Not corrupted or truncated.4. Recreate the credential record and make sure when recreating the new record only the <PURE VALUE> for the private key to be applied for "Secret Key""private_key": "-----BEGIN PRIVATE KEY-----\n<PURE VALUE>\n-----END PRIVATE KEY-----\n",