openapi-python-sdk icon indicating copy to clipboard operation
openapi-python-sdk copied to clipboard

octet short error from RSA private key

Open edmunlee87 opened this issue 2 years ago • 1 comments

Encountered the error below when calling QuoteClient.

client_config = get_client_config(private_key_path=PRIVATE_KEY_PATH, tiger_id=TIGER_ID, account=ACCOUNT) quote_client = QuoteClient(client_config, logger=client_logger)

tigeropen.common.exceptions.RequestException: [45f9a9a3-093a-11ee-a06f-18cf5eae3c75]request sign failed. 498047363409204084869657478084992514118413841471970825002770723036403523027418639519832513096583770134150993445882481708787740438776103-octet short

edmunlee87 avatar Jun 12 '23 16:06 edmunlee87

check if private key in pkcs1 format, try another key;

hotea avatar Jul 11 '23 08:07 hotea