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:10288) [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: WITH InStockProducts AS ( SELECT product_id FROM F_Product_Stock_For_Webshop(N'5541DDC9-434F-45E0-AD19-E279ED1B5B16') WHERE _stock > 0 ) SELECT COUNT(*) AS _count FROM Product JOIN InStockProducts ON Product.uuid = InStockProducts.product_id WHERE Product.is_deleted = 0 AND Product.owner = N'5541DDC9-434F-45E0-AD19-E279ED1B5B16' AND active_for_webshop=1 AND is_archived=0 {"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