Onboarding issue

Dears,
i keep getting this message while onboarding any new customers to Zatca however it was working normal before …

unable to submit and sign the csr in zatca side, caused : Error Parsing Request  The request subject name is invalid or too long. 0x80094001 (-2146877439 CERTSRV_E_BAD_REQUESTSUBJECT)

Please support

Dear @Ziad

Thanks for reaching out,

To provide comprehensive support, can I ask you to elaborate on the below questions:

  1. Are you using ZATCA SDK? If so, what is the version?
  2. Are you in simulation or production?
  3. Providing screen shots and full request will be more helpful.

Thanks,
Ibrahem Daoud.

@Dear @idaoud
Thanks for reply , i fixed the issue , it was that company name is so big ,
But I am facing a big issue now , everytime onboarding new customers , i got InValid OTP HTTP POST https://gw-fatoora.zatca.gov.sa/e-invoicing/core/compliance "{"csr":" *************** …… **"}" Response 400 BAD_REQUEST "{"errors":[{"code":"Invalid-OTP","message":"The provided OTP is invalid"}]}"
Your kindly support please

Dear @Ziad

Good to know that the previous issue resolved, Please find the below common OTP queries, check them and confirm if your case is not of the following:

  1. Your solution is being onboarded in the production environment, but the OTP obtained is from the simulation Fatoora portal, please ensure you obtain your OTP from the correct environment on the Fatoora portal.
  2. Your OTP has already been used & expired. OTPs are only valid for one use.
  3. The VAT number in the CSR configuration file differs from the credentials used to obtain the OTP. Ensure that the TIN number used to enter the Fatoora portal for obtaining the OTP matches the VAT number in the CSR configuration file.
  4. If more than one hour has passed since the OTP was generated, please note that it automatically expires after one hour. In such cases, obtain a new OTP and restart your request.

Please Let me know if you have any further support.

Thanks,
Ibrahem Daoud.

Dear @idaoud
Thanks for your reply ,
should the organization and organisation unit should be varNumber or cr ? please clarify

@idaoud @Ankit_Tiwari can you please provide your support ?