openAIP / openaip

Public issue tracker of www.openaip.net.
39 stars 3 forks source link

TypeError: Cannot read properties of undefined (reading 'Symbol(Symbol.asyncIterator)') #344

Closed sentry-io[bot] closed 3 months ago

sentry-io[bot] commented 3 months ago

Sentry Issue: CORE-API-H

TypeError: Cannot read properties of undefined (reading 'Symbol(Symbol.asyncIterator)')
  File "/usr/src/app/modules/exports/download-export.js", line 113, in DownloadExport.fromIterator
    for await (const document of resultIterator) {
  File "/usr/src/app/modules/exports/export-handler.js", line 68, in ExportHandler.createExport
    return downloadExport.fromIterator(cursor);
  File "/usr/src/app/controllers/export-controller.js", line 215, in runExport
    const signedUrl = await exportHandler.createExport({ country, format, contentType });