Dear All,
I am currently trying to renew my PCSID but have encountered an issue. When attempting the renewal process, I received the following error message:
Error 428: Precondition Required .
Could anyone please advise on the steps I should take to resolve this issue and successfully renew my PCSID? Any guidance or troubleshooting tips would be greatly appreciated.
Dear @Madleen
Can you kindly provide the steps taking from your end in order to receive this error?
Dear @saalotaibi , @eCloud , @halrashidy , @idaoud
I’m used that and authorization the username&password (get them from : "
" https://gw-fatoora.zatca.gov.sa/e-invoicing/developer-portal/Ssimulation/csids "
curl -X ‘PATCH’
‘https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/production/csids ’
-H ‘accept: application/json’
-H 'OTP: ’
-H ‘accept-language: en’
-H ‘Accept-Version: V2’
-H ‘Content-Type: application/json’
-d '{ “csr”: “”}
get that output:
Error 428: PreconditionRequired - Error
Details: {“requestID”:1730365866069,“tokenType”:null,“dispositionMessage”:“NOT_COMPLIANT”,“binarySecurityToken”:“TUlJQ01UQ0NBZGVnQXdJQkFnSUdBWkxoMThCVk1Bb0dDQ3FHU000OUJBTUNNQlV4RXpBUkJnTlZCQU1NQ21WSmJuWnZhV05wYm1jd0hoY05NalF4TURNeE1Ea3hNVEF4V2hjTk1qa3hNRE13TWpFd01EQXdXakJvTVFzd0NRWURWUVFHRXdKVFFURVdNQlFHQTFVRUN3d05VbWw1WVdSb0lFSnlZVzVqYURFWk1CY0dBMVVFQ2d3UVZHVmlZV3hwYm1zZ1EyOXRjR0Z1ZVRFbU1DUUdBMVVFQXd3ZFZGTlVMVEV3TVRBMk5qQTJOeTB6TVRFMU9UUTJPRFk1TURBd01ETXdWakFRQmdjcWhrak9QUUlCQmdVcmdRUUFDZ05DQUFSeldMMjNXVm9Nak5WYnlsdVF3bjI5M1hQSkpMZ3dDY254cW9XOUNpYU1KWjVlVXRnRldadkxZS0k4cFBzRG1KbUJsTDRidnE2SW1FSjV4MGtjWngzYW80SENNSUcvTUF3R0ExVWRFd0VCL3dRQ01BQXdnYTRHQTFVZEVRU0JwakNCbzZTQm9EQ0JuVEUvTUQwR0ExVUVCQXcyTVMxQmNIQnNaWHd5TFVVMU5UY3dmRE10V2xvMFF6UTFORFF0TURBek9DMDFNekV3TFRnd016Y3RRalZETURSR05UZzBOVFV5TVI4d0hRWUtDWkltaVpQeUxHUUJBUXdQTXpFeE5UazBOamcyT1RBd01EQXpNUTB3Q3dZRFZRUU1EQVF4TVRBd01SRXdEd1lEVlFRYURBaFNSRXhDTkRVNU9URVhNQlVHQTFVRUR3d09TVlFnUkdWMlpXeHZjRzFsYm5Rd0NnWUlLb1pJemowRUF3SURTQUF3UlFJaEFJcktSQzFmK1RZZ051TjhrUmlkR0l2WmFPNE5DRkJhNW5hVEp1Wk5HWStvQWlCSU9yVFBTY01xaFozd2FWamlOUUdVSnlwcHNWcUgvcWZ0ZTJnYUZHS2g0Zz09”,“secret”:“sed9CDvwi4rFiJsG1fKbh3jFgYusOZCmSpoi1lnEy74=”}
What should do to fix that?
idaoud
November 3, 2024, 2:03pm
4
Dear @Madleen
Thanks for reaching out,
Can I kindly ask you to confirm the following:
1- Did you generated the PCSID for SIM or Production?
2- The PCSID you want to renew is it on SIM, or Production?
Please note that the devPortal is only to clarify the integration steps,
For renewal PCSID in production env use (https://gw-fatoora.zatca.gov.sa/e-invoicing/core/production/csids )
In simulation use (https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/production/csids )
in the body you will send the CSR, in the headers (Accept-Version, value:V2, and the Current CCSID), in the Autherization you need to add the Binary security token as user name and the secret as password,
Please try these steps and let me know if there are anything not clear.
Thanks,
Ibrahem Daoud.
Dear @idaoud ,
1- I generated PCSID foe SIM.
2- I want to renew on SIM.
when used that:
give this response :
Madleen:
Error 428: PreconditionRequired - Error
Details: {“requestID”:1730365866069,“tokenType”:null,“dispositionMessage”:“NOT_COMPLIANT”,“binarySecurityToken”:“TUlJQ01UQ0NBZGVnQXdJQkFnSUdBWkxoMThCVk1Bb0dDQ3FHU000OUJBTUNNQlV4RXpBUkJnTlZCQU1NQ21WSmJuWnZhV05wYm1jd0hoY05NalF4TURNeE1Ea3hNVEF4V2hjTk1qa3hNRE13TWpFd01EQXdXakJvTVFzd0NRWURWUVFHRXdKVFFURVdNQlFHQTFVRUN3d05VbWw1WVdSb0lFSnlZVzVqYURFWk1CY0dBMVVFQ2d3UVZHVmlZV3hwYm1zZ1EyOXRjR0Z1ZVRFbU1DUUdBMVVFQXd3ZFZGTlVMVEV3TVRBMk5qQTJOeTB6TVRFMU9UUTJPRFk1TURBd01ETXdWakFRQmdjcWhrak9QUUlCQmdVcmdRUUFDZ05DQUFSeldMMjNXVm9Nak5WYnlsdVF3bjI5M1hQSkpMZ3dDY254cW9XOUNpYU1KWjVlVXRnRldadkxZS0k4cFBzRG1KbUJsTDRidnE2SW1FSjV4MGtjWngzYW80SENNSUcvTUF3R0ExVWRFd0VCL3dRQ01BQXdnYTRHQTFVZEVRU0JwakNCbzZTQm9EQ0JuVEUvTUQwR0ExVUVCQXcyTVMxQmNIQnNaWHd5TFVVMU5UY3dmRE10V2xvMFF6UTFORFF0TURBek9DMDFNekV3TFRnd016Y3RRalZETURSR05UZzBOVFV5TVI4d0hRWUtDWkltaVpQeUxHUUJBUXdQTXpFeE5UazBOamcyT1RBd01EQXpNUTB3Q3dZRFZRUU1EQVF4TVRBd01SRXdEd1lEVlFRYURBaFNSRXhDTkRVNU9URVhNQlVHQTFVRUR3d09TVlFnUkdWMlpXeHZjRzFsYm5Rd0NnWUlLb1pJemowRUF3SURTQUF3UlFJaEFJcktSQzFmK1RZZ051TjhrUmlkR0l2WmFPNE5DRkJhNW5hVEp1Wk5HWStvQWlCSU9yVFBTY01xaFozd2FWamlOUUdVSnlwcHNWcUgvcWZ0ZTJnYUZHS2g0Zz09”,“secret”:“sed9CDvwi4rFiJsG1fKbh3jFgYusOZCmSpoi1lnEy74=”}
SO I am asking what should do ?AND the binarySecurityToken as user name and the secret as password, when compilance invoice again? IF yes , How can get the binarySecurityToken as user name and the secret as password when clear/report invoice?
idaoud
November 4, 2024, 8:42am
6
Dear @Madleen
You can find the answer here: How to renew expired PCSID? - #11 by idaoud
Thanks, please let me know if needed.
Ibrahem Daoud.