Internal server error returned by PCSID API

When attempting to register a workstation against the Simulation portal, we are successfully submitting invoices against the compliance invoice API, but receiving an internal server error retrieving a PCSID from the Production CSID (onboarding) API.
StatusCode = InternalServerError
API response content = {““code””:““Invalid-Request””,““message””:““System failed to process your request””}
We have previously successfully registered workstations against the Simulation portal (prior to Aug 8th) with no change from the side of our integration, so this appears to be an issue on the server side.

The bug is resolved, please try again.

Thank you, we are able to register again as of this morning.

We are still getting the same error as of today when we try to get Prodcution CSID.

{““code””:““Invalid-Request””,““message””:““System failed to process your request””}

We are also getting same error while using production CSID api

Request
{
“compliance_request_id”: “1692621015604”
}

Response
{
“code”: “Invalid-Request”,
“message”: “System failed to process your request”
}

Request id : 1692621015604

Log: 500 Internal server error

Please help us to resolve the issue.

When onboarding to the Simulation, please, ensure that you use certificateTemplateName = ASN1:PRINTABLESTRING:PREZATCA-Code-Signing

If the issue still persists, please, share the full postman collection (incl. the CSR) with ZATCA via the official channels or your RM, so it can be further investigated based on your specific inputs. Thank you.

Thanks for your response.

We are using below command to generate csr in simulation portal.

fatoora -sim -csr -csrConfig csr-config-saico.properties

where we have to use this property “certificateTemplateName = ASN1:PRINTABLESTRING:PREZATCA-Code-Signing” whether csr config file or else

Please help us.

Kindly note that no need to use this property (certificateTemplateName) incase if you are using the SDK to generate the CSR, you need to use the property template file in SDK (data/input) directory, with the command fatoora -sim -csr -csrConfig csr-config-saico.properties

However, there is another way to generate the CSR using the configuration file (Config.conf) and Openssl, so in this case you need to make sure that you are using the right certificate template for simulation certificateTemplateName = ASN1:PRINTABLESTRING:PREZATCA-Code-Signing

We used the same mechanism as per the above thread still same issue. Can you please help us to resolve the issue?

Please find the below CSR property file

csr.common.name=SAICO-23456-300071179800003
csr.serial.number=1-SAICO|2-SAICO1|3-1234567891
csr.organization.identifier=300071179800003
csr.organization.unit.name=HEADOFFICE
csr.organization.name=SAICO
csr.country.name=SA
csr.invoice.type=1000
csr.location.address=Riyadh
csr.industry.business.category=INSURANCE

Please, try to perform the task via Postman collection. If the issue still persists, please, share the postman collection with ZATCA via the official channels or your RM for further investigation as the technical team needs to analyze the provided inputs and steps.