IBM Support

Private Keys issues when running a bot

Troubleshooting


Problem

  • "problem creating private key: System.ArgumentException: failed to construct sequence from byte[]: corrupted stream - out of bounds length found: 1214 >= 1122 at Org.BouncyCastle.Asn1.Asn1Sequence.GetInstance(Object obj)"
  • "System.Exception: File can't be read as Pem Object"
  • "END PRIVATE KEY not found at Org.BouncyCastle.Utilities.IO.Pem.PemReader.LoadObject(String type)"
  • "base64 data appears to be truncated at Org.BouncyCastle.Utilities.IO.Pem.PemReader.LoadObject(String type)"
  • "problem creating private key: System.ArgumentException: failed to construct sequence from byte[]: extra data found after object at Org.BouncyCastle.Asn1.Asn1Sequence.GetInstance(Object obj)"
  • "The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength) at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)"
These error messages can appear during scheduling, orchestration, API executions, and by using IBM RPA Studio with the "Get Vault Item" command


Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC50T","label":"IBM Robotic Process Automation"},"ARM Category":[{"code":"a8m3p000000h9wcAAA","label":"Web Client \/ Tenant"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Robotic Process Automation

Component:
Web Client / Tenant

Software version:
All Versions

Document number:
6603087

Modified date:
30 August 2022

UID

ibm16603087

Manage My Notification Subscriptions