Zatca production clearance endpoint not returning valid JSON

When attempting to parse the response returned by Zatca we are encountering JSON deserialization errors: Error Unexpected character encountered while parsing value: <.

This was no issue until today, and we are not able to report successfully without a valid JSON response. Please your urgent support.

This post just got approved but it is already being addressed in an email, it seems that a particular hash value is causing the API to fail and return an HTML format

{
“invoiceHash”: “svi731espApY/FgETc/LHOD3CMPeYKipVfgmaFLB8wY=”
}

Dear @malhamdan

Thanks for reaching out,

Please share your concerns via the SP email along with the following detailed information to ensure a comprehensive understanding of your situation and provide the exact needed support:

Required attachments:

  1. Configuration file
  2. CSR
  3. Full API request
  4. XML
  5. Full API response

Thanks.

@idaoud I am already in an email thread with SP support but they have stopped responding… Could you please follow up with them?

Thank you,
Mohammad