We're sorry AsposeCloud doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.cloud

Uaable to scan barcode sample

I have a sample dotcode that will be lazer printed onto an item. I do not seem to be able to scan it with the following config and code as follows:

const config = new Barcode.Configuration(






const api = new Barcode.BarcodeApi(config);

async function recognizeBarcode(api) {

const request = new Barcode.PostBarcodeRecognizeFromUrlOrContentRequest();

request.image = fs.readFileSync(“testfule.png”);

request.type = Barcode.DecodeBarcodeType.All;

request.preset = Barcode.PresetType.HighPerformance;

request.fastScanOnly = false;

const result = await api.postBarcodeRecognizeFromUrlOrContent(request);

return result.body.barcodes;


Please assist if there are any changes needed or if it is currently not possible to do so
download.png (22.1 KB)


It seems you are using Aspose.BarCode for Cloud, so I am moving your thread to respective category. One of our fellow colleagues from Aspose.BarCode for Cloud team will assist you soon.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.


You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.