Frequent OTP Invalid Error in Simulation Environment Onboarding

We are currently in the process of onboarding a customer to the simulation environment. Although we have successfully generated the OTP from the simulation environment, we frequently encounter an “OTP is invalid” error message when processing it. This issue is recurring and hindering our progress.

@Ankit_Tiwari , Can you please check this issue.

Hi @sameer ,

Thank you for reaching out,

Kindly note that the OTP is valid for 1 hour only. You can try to regenerate the OTP and use it within 1 hour.

Thank you,

Another reason … in case you have simulation OTP …
may be you are sending to live/core URLs,

your configuration file must include PREZatca
for Live your configuration file must include Zatca without Pre

These situations may result in invalid OTPs:

  1. The OTP is expired and you need to generate a new one.
  2. The VAT number used in the CSR is different from the VAT linked to FATOORA Portal.
  3. You have generated an OTP from production Portal and trying to use it on simulation Portal and vice versa. Please make sure to generate the OTP from the correct Portal / environment you want to use.

Please share the documentation /guide on where to Include PREZatca. We are onboarding the device in the simulation and we are stuck here for long. we are getting Invalid OTP

In the config file