undefined is not iterable (cannot read property Symbol(Symbol.iterator))

TypeError

Reference File380.js
Function[kontent.js] - getRecordBySlug
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
    at Function.all (<anonymous>)
    at getRecordBySlug (/var/task/chunks/380.js:2376:43)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async getStaticProps (/var/task/pages/[page].js:399:18)
    at async Object.renderToHTML (/var/task/chunks/842.js:15309:20)
    at async Module.renderReqToHTML (/var/task/chunks/842.js:3269:26)
    at async renderPageToHtml (/var/task/default-handler-0a0dc009.js:2072:46)
    at async renderFallback (/var/task/default-handler-0a0dc009.js:2110:38)
    at async handleOriginResponse (/var/task/default-handler-0a0dc009.js:103187:27)
    at async Runtime.handler (/var/task/default-handler-0a0dc009.js:102986:20)