CSR Error- Signing

Dear Team,

We are currently facing a critical issue.

During the submission period, our CSR- certificate are being unexpectedly rejected, which has currently stopped our process.

Could you please investigate the cause of these rejections immediately and advise on a solution? Any insight into potential process changes or the root cause would be greatly appreciated.

2
OTP:363370
Target URL: https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/compliance
Method: POST
Headers
Accept - application/json
OTP - 363370
Accept-Version - V2
Content-Type - application/json
Body: {“csr”:“LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0NCk1JSUJVekNCK1FJ\rQkFEQnhNUXN3Q1FZRFZRUUdFd0pUUVRFVE1CRUdBMVVFQ3d3S016RXdNemcxTURN\rd016RW4NCk1DVUdBMVVFQ2d3ZVNtVmtaR0ZvSUVGc2RHaGhibWw1WVNCWFlYUmxj\raUJEYjIxd1lXNTVNU1F3SWdZRFZRUUQNCkRCdEJURVpCVGtGU0xVdFRRUzB6TVRB\rek9EVXdNekF6TURBd01ETXdWakFRQmdjcWhrak9QUUlCQmdVcmdRUUENCkNnTkNB\rQVQyR0Jwb1o4ekx5ckhLTFdyUGZsMTkzWVJSaDBiMXVwcUsrZng3TnE4Nm9nSFVP\rNVpqL25VS2txREsNCmtmaldoZVQzSjBaY0FTWUM1dkwwR1RIRUxkdGlvQ2t3SndZ\rSktvWklodmNOQVFrT01Sb3dHREFKQmdOVkhSTUUNCkFqQUFNQXNHQTFVZER3UUVB\rd0lGNERBS0JnZ3Foa2pPUFFRREFnTkpBREJHQWlFQXRRU0JkYTNvYW1nQ2N3ZngN\rCkUvUVAwS1E2M1dUNXdYYytBOGZxVEUvajg2a0NJUUQvbXltYU16aWFRVkUzZFhw\rK0wvNXNFak1IOTYyd3ZmQUQNCkdoeUxhM29DN2c9PQ0KLS0tLS1FTkQgQ0VSVElG\rSUNBVEUgUkVRVUVTVC0tLS0tDQo=\r”}
Exception in thread “main” kong.unirest.UnirestException: 400 - Bad Request - {“errorCode”:“400”,“errorCategory”:“Invalid-CSR”,“errorMessage”:“The provided Certificate Signing Request (CSR) is invalid.”}
at net.snitechnology.certificatemanager.util.SCMUtils.call(SCMUtils.java:54)
at net.snitechnology.certificatemanager.service.KSAService.sendCSRBase64FileToAPIService(KSAService.java:354)
at net.snitechnology.certificatemanager.service.KSAService.run(KSAService.java:141)
at net.snitechnology.certificatemanager.App.main(App.java:20)

Thanks,

csr.common.name=TST-886431145-399999999900003
csr.serial.number=1-TST|2-TST|3-ed22f1d8-e6a2-1118-9b58-d9a8f11e445f
csr.organization.identifier=399999999900003
csr.organization.unit.name=Riyadh Branch
csr.organization.name=Maximum Speed Tech Supply LTD
csr.country.name=SA
csr.invoice.type=1100
csr.location.address=RRRD2929
csr.industry.business.category=Supply activities

use this format
with this cmd
fatoora -csr -csrConfig “csr-config-example-AR-VAT-group.properties” -sim
again genrate csr then ulpoad