Language-Error: The provided language not supported

Hi,
I am getting this clearance error while trying to clear a standard invoice.
“qr”: null,
“zatcaStatus”: “NOT_CLEARED”,
“icv”: null,
“validationResults”: {
“status”: “ERROR”,
“infoMessages”: [ ],
“warningMessages”: [ ],
“errorMessages”: [
{
“category”: “Invalid-Language”,
“code”: “Language-Error”,
“message”: “The provided language not supported”,
“status”: “ERROR”,
“type”: “ERROR”
}
]
}

All of our xml creation process flow remains the same. All invoices got cleared before. Today (01/06/2025), we faced this error.

Is there any changes from ZATCA side? Anybody else facing the same issue?

same at my side. facing the language issue.

I am also facing the same issue since 01-06-2025

@Ankit_Tiwari Please look into this,We are also facing the same issue and lot of our customers are stuck due to this.

Thanks

@itujar_it @mhaba @abdulkhanc @sandeep can any of you share a sample sanitized XML here?

@itujar_it @mhaba @abdulkhanc @sandeep there is a parameter in the request called “Accept-language” please populate either “ar” or “en” and try again.

Hi Ankit,

I am also receiving this same error response from the Zatca
As your suggestion, I am already passing Accept-Language = ‘English’ as header parameter.
Documents are not clearing from 01-06-2025 partially

Thanks and Regards,
Ravi V

yes it worked for my UAT envoirunemnt
I was sending English before changed to en and it worked.
Now going to deploy to prod to check

thank you..it is working fine. the clearance api header changed to “en” // “ar”

httpHeaders.set(“Accept-Language”, “ar”);

before it was httpHeaders.set(“Accept-Language”, “English”);

Dear Anki,

I am confirming here, Now working fine.

Thanks for your information and quick support.

Thanks and Regards,
Ravi V

It is very strange to hear that something was changed.

We have implemented everything from the beginning using en/ar values according to the documentation.

Guys, you can always check documentation if in doubt.