OCR file parameter is invalid

“Parameter name ‘file’ is invalid. Valid parameters: apikey,url,language,isoverlayrequir”

This is the error I get when I try to send a file to the OCR space engine. I followed the Javascript tutorial, which works with URL, but I use this in a Phonegap application, which has a file to upload. Is this a known error?

EDIT: I fixed it by using the base64Image parameter and converting my image to base64. You can delete this topic. (and maybe update the api doc?)

Hi! Thanks for updating the question. Just a quick note: file is a valid parameter for the OCR API. So I am not sure what went wrong in your case. But I am glad that you found a good solution by using base64Image.