OCR Engine 2 not working

Hello, I am trying to use the OCR Engine 2 parameter and it is not returning anything. My code works just fine when the OCREngine parameter is 1, however, does not work when it is 2. Thank you for your help in advance.
My code:










    $(':file').on('change', function() {
        var file = this.files[0];
        var formData = new FormData();
        formData.append("file", file);
        //formData.append("url", file);
        formData.append("language"   , "ara");
        formData.append("apikey"  , "5a374d853188957");
        formData.append("OCREngine", 2);
        //Send OCR Parsing request asynchronously
        jQuery.ajax({
            url: "https://api.ocr.space/parse/image",
            data: formData,
            dataType: 'json',
            cache: false,
            contentType: false,
            processData: false,
            type: 'POST',
            success: function (ocrParsedResult) {
                //Get the parsed results, exit code and error message and details
                var parsedResults = ocrParsedResult["ParsedResults"];
                var ocrExitCode = ocrParsedResult["OCRExitCode"];
                var isErroredOnProcessing = ocrParsedResult["IsErroredOnProcessing"];
                var errorMessage = ocrParsedResult["ErrorMessage"];
                var errorDetails = ocrParsedResult["ErrorDetails"];
                var processingTimeInMilliseconds = ocrParsedResult["ProcessingTimeInMilliseconds"];
                //If we have got parsed results, then loop over the results to do something
                if (parsedResults!= null) {
                    //Loop through the parsed results
                    $.each(parsedResults, function (index, value) {
                        var exitCode = value["FileParseExitCode"];
                        var parsedText = value["ParsedText"];
                        console.log(parsedText);
                        var errorMessage = value["ParsedTextFileName"];
                        var errorDetails = value["ErrorDetails"];

                        var textOverlay = value["TextOverlay"];
                        var pageText = '';
                        switch (+exitCode) {
                            case 1:
                                pageText = parsedText;
                                console.log(pageText);
                                break;
                            case 0:
                            case -10:
                            case -20:
                            case -30:
                            case -99:
                            default:
                                pageText += "Error: " + errorMessage;
                                break;
                        }
                        console.log(pageText);

                        $.each(textOverlay["Lines"], function (index, value) {
                          console.log(index);

                        });

                    });
                }
            }
        });
    });
</script>
</body>
</html>

I tested the issue here with Postman, but can not recreate it.
=>If you test the connection with Postman, do you get the same result?

You probably know it, but just in case: Postman is a free Chrome app, see https://ocr.space/ocrapi#postman

If you see the problem even with Postman, a screenshot of the result could be helpful.

Now I see: Arabic is not supported by Engine 2, only Latin characters.

You should have received this response:

{
    "OCRExitCode": 99,
    "IsErroredOnProcessing": true,
    "ErrorMessage": [
        "Value for parameter 'language' is invalid"
    ],
    "ProcessingTimeInMilliseconds": "0"
}

Oh, thanks! I did not realize that, I was using an example online and forgot to set the language to english. Thank you for your help