Malformed sequence in RSA private key

Hi ,

I am trying to call the acls endpoint (https://api.searchads.apple.com/api/v1/acls) .

for some client i get a sucess 200 response and for others I get this Exception: org.bouncycastle.openssl.PEMException: malformed sequence in RSA private key,

Althoght when I try the same request with the Postman App I get a success response for the same client, certificate and key.
Are you familiar with this behave ? can you suggest any help/explenation ?
Thanks in advance,
Shekha.==> shekha.atrash@datorama.com