Zatca services returning HTML page

Hi everyone,

I’d like to ask if Zatca is dealing of any kind of outage on your API. Our services are erroring since 6 hours ago (around 9pm UTC). Our logs show that the Zatca API is returning HTML code instead of a JSON response, which indicates an internal server error for me.

Unexpected JSON token at offset 0: Expected '{, kind: CLASS'.\n JSON input: <!DOCTYPE html>\r\n<html lang=\"a....

Do you have any information regarding that?

Regards,

Bruno.

Dear @kogabr

Thanks for reaching out,

To provide comprehensive support as usual, can I kindly ask you to share more details (logs, full request, and the exact response from ZATCA)?

Thanks,
Ibrahem Daoud.

We are receiving similar issue from Zatca and all the clients are impacted. Kindly assist here asap.

<title> Request Rejected </title>
<style>
    /* Font-face rule to define the custom font */
    @font-face {
        font-family: 'Somar';
        src: url('fonts/Somar-Regular.eot');
        src: url('fonts/Somar-Regular.eot?') format('embedded-opentype'),
            url('fonts/Somar-Regular.woff2') format('woff2'),
            url('fonts/Somar-Regular.woff') format('woff'),
            url('fonts/Somar-Regular.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
        font-display: swap;
    }

    @font-

Dear @idaoud @Ankit_Tiwari , can this issue be happening due to change in API URL done at Zatca end?

Important Breaking Change (decommissioning gw-apic-gov.gazt.gov.sa) - Announcements - Fatoora Developer Community

Dear @Sachin.Pathare,

Thank you for your inquiry.

To clarify, the old URL has not been decommissioned. Our team is investigating on top priority basis.

To assist us in expediting the investigation, we kindly request you to share the following details via email to sp_support@zatca.gov.sa:
• The specific endpoint being used.
• Request headers (excluding the authorization header).
• The full API request, including the response (In HTML for one of the affected invoices).

Please feel free to reach out if you have any further concerns or need additional clarification.

Best regards,

@kogabr could you please check and confirm if the issue is resolved now?

@Ankit_Tiwari we are facing this issue for reporting API can you guide how to resolve this

@Ankit_Tiwari

Yes, the operation has resumed a few hours ago. Can you give more details on what happened? We had a lot of documents impacted.