iisnode encountered an error when processing the request.

HRESULT: 0x6d
HTTP status: 500
HTTP subStatus: 1013
HTTP reason: Internal Server Error

You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.

In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.

The last 64k of the output generated by the node.exe process to stderr is shown below:

(node:1832) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
sql query execution error:

            SELECT webCart.*,
                prd.title, prd.description, prd.public_id, prd.warehouse_address, prd.brand, prd.is_virtual, prd.weight,
                prd.unit, prd.tag_festival, prd.tag_new, prd.directory_id, prd.is_available_on_webshop, prd.active_for_webshop,
                prdVar.sell_price, prdVar.sell_price2, prdVar.sell_price3, prdVar.discount, prdVar.sku, prdVar.sku_prefix, prdVar.sku_suffix, prdVar.min_purchase_quantity, prdVar.max_purchase_quantity,
                IIF(prd.is_available_on_webshop=0, 0, prdVarStock._stock) AS [stock],
                opt1.name option1_name, opt1.type option1_type, optVal1.name optionValue1_name, optVal1.value_order optionValue1_val,
                opt2.name option2_name, opt2.type option2_type, optVal2.name optionValue2_name, optVal2.value_order optionValue2_val,
                (SELECT TOP 1 url FROM Media WHERE is_cover=1 AND is_deleted=0 AND type='product_pic' AND Media.product_id = prd.uuid) cover_image
            FROM [WebshopCart]

            {"code":"EREQUEST","originalError":{"sqlstate":"HYT00","code":0,"severity":0,"serverName":"","procName":"","lineNumber":0},"name":"RequestError","number":0,"lineNumber":0,"state":"HYT00","class":0,"serverName":"","procName":""}
        
unhandledRejection: RequestError: Query timeout expired