# Internal server error response from PCSID API

**URL:** <https://zatca1.discourse.group/t/internal-server-error-response-from-pcsid-api/569>\
**Category:** FATOORA portal and Simulation portal\
**Created:** [August 20, 2023, 12:13pm UTC](https://zatca1.discourse.group/t/internal-server-error-response-from-pcsid-api/569 "2023-08-20T12:13:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![AMahran](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@AMahran](https://zatca1.discourse.group/u/AMahran)\
**Post date:** [August 20, 2023, 12:13pm UTC](https://zatca1.discourse.group/t/internal-server-error-response-from-pcsid-api/569/1 "2023-08-20T12:13:38Z")

</div>

We passed all compliance steps however in the step of PCSID, we got internal server error. Could you please help fixing it.

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

---

<div class="post-metadata">

**Author:** ![kiaziz](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kiaziz](https://zatca1.discourse.group/u/kiaziz)\
**Post date:** [August 20, 2023, 12:29pm UTC](https://zatca1.discourse.group/t/internal-server-error-response-from-pcsid-api/569/2 "2023-08-20T12:29:55Z")

</div>

pleas try generate the CSR from the beginning for the simulation using the SDK, this command:  
**Fatoora -sim -csr -csrConfig _[propertiesfilename. properties]_** and the properties file that comes with it in data/input directory

---

<div class="post-metadata">

**Author:** ![AMahran](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@AMahran](https://zatca1.discourse.group/u/AMahran)\
**Post date:** [August 20, 2023, 1:02pm UTC](https://zatca1.discourse.group/t/internal-server-error-response-from-pcsid-api/569/3 "2023-08-20T13:02:24Z")

</div>

Shall I use my organization info instead of the sample data?

---

<div class="post-metadata">

**Author:** ![kiaziz](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kiaziz](https://zatca1.discourse.group/u/kiaziz)\
**Post date:** [August 20, 2023, 1:15pm UTC](https://zatca1.discourse.group/t/internal-server-error-response-from-pcsid-api/569/4 "2023-08-20T13:15:28Z")

</div>

yes, sure then use the SDK to generate the CSR.

Regards,

---

<div class="post-metadata">

**Author:** ![AMahran](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@AMahran](https://zatca1.discourse.group/u/AMahran)\
**Post date:** [August 20, 2023, 1:33pm UTC](https://zatca1.discourse.group/t/internal-server-error-response-from-pcsid-api/569/5 "2023-08-20T13:33:26Z")

</div>

I followed the suggested steps, however still getting 500-Internal Server Error. compliance\_request\_id": “1692538015604”

---

<div class="post-metadata">

**Author:** ![kiaziz](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kiaziz](https://zatca1.discourse.group/u/kiaziz)\
**Post date:** [August 20, 2023, 1:41pm UTC](https://zatca1.discourse.group/t/internal-server-error-response-from-pcsid-api/569/6 "2023-08-20T13:41:40Z")

</div>

please make sure the config file doesn’t contain special characters, and try as much as possible to avoid arabic letters and spaces

---

<div class="post-metadata">

**Author:** ![AMahran](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@AMahran](https://zatca1.discourse.group/u/AMahran)\
**Post date:** [August 20, 2023, 2:52pm UTC](https://zatca1.discourse.group/t/internal-server-error-response-from-pcsid-api/569/7 "2023-08-20T14:52:52Z")

</div>

Unfortunately still receiving the same error, I have removed all Arabic characters, spaces, hyphen, and commas in CSR Config.  
“compliance\_request\_id”: “1692542797923”

---

<div class="post-metadata">

**Author:** ![kiaziz](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kiaziz](https://zatca1.discourse.group/u/kiaziz)\
**Post date:** [August 21, 2023, 6:17am UTC](https://zatca1.discourse.group/t/internal-server-error-response-from-pcsid-api/569/8 "2023-08-21T06:17:53Z")

</div>

no, not all of them you still need these 2 lines to be like this for example

 ![DFG](https://europe1.discourse-cdn.com/flex013/uploads/zatca1/original/1X/9c0676d082a4c6ebedfa26d7a5126bd48f6fe81a.png)

NB: if you didn’t get any messages from ZATCA, it means that it could be something from your system or something, please make sure to try the APIs using an external tool like postman and not from your system to differentiate if the error is from our side or maybe from the integration of your system’s code.

Regards,

---

<div class="post-metadata">

**Author:** ![AMahran](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@AMahran](https://zatca1.discourse.group/u/AMahran)\
**Post date:** [August 21, 2023, 6:51am UTC](https://zatca1.discourse.group/t/internal-server-error-response-from-pcsid-api/569/9 "2023-08-21T06:51:47Z")

</div>

Thanks for your patience, I have used same values like suggested above, also I am trying from postman, still receiving the same error

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

---

<div class="post-metadata">

**Author:** ![Amerah\_Almutairi](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@Amerah\_Almutairi](https://zatca1.discourse.group/u/Amerah_Almutairi)\
**Post date:** [August 27, 2023, 9:30am UTC](https://zatca1.discourse.group/t/internal-server-error-response-from-pcsid-api/569/10 "2023-08-27T09:30:44Z")

</div>

Dear AMahran,

Please share the CSR file and the Postman Collection that you are using with us through the email channel so we can investigate it from our side.

---

<div class="post-metadata">

**Author:** ![AMahran](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@AMahran](https://zatca1.discourse.group/u/AMahran)\
**Post date:** [August 28, 2023, 11:20am UTC](https://zatca1.discourse.group/t/internal-server-error-response-from-pcsid-api/569/12 "2023-08-28T11:20:50Z")

</div>

all required details are sent by email through the relationship manager. Thanks in advance for your support
