Closed eromose-le closed 4 years ago
After Handling Try ad Catch const asyncHandler = require('express-async-handler'); app.post("/api/df_text_query", asyncHandler(async (req, res) => { let responses = await chatbot.textQuery(req.body.text, req.body.parameters); res.send(responses[0].queryResult); }));
const asyncHandler = require('express-async-handler');
app.post("/api/df_text_query", asyncHandler(async (req, res) => { let responses = await chatbot.textQuery(req.body.text, req.body.parameters); res.send(responses[0].queryResult); }));
I am stucked with this error on my log.
2020-09-15T23:49:04.360834+00:00 app[web.1]: Error: ERR_OSSL_PEM_NO_START_LINE undefined: Getting metadata from plugin failed with error: error:0909006C:PEM routines:get_name:no start line
I also get Internal Server Error when testing the API post with SERVISTATE.
Please help me.
After Handling Try ad Catch
const asyncHandler = require('express-async-handler');
app.post("/api/df_text_query", asyncHandler(async (req, res) => { let responses = await chatbot.textQuery(req.body.text, req.body.parameters); res.send(responses[0].queryResult); }));
I am stucked with this error on my log.
2020-09-15T23:49:04.360834+00:00 app[web.1]: Error: ERR_OSSL_PEM_NO_START_LINE undefined: Getting metadata from plugin failed with error: error:0909006C:PEM routines:get_name:no start line
I also get Internal Server Error when testing the API post with SERVISTATE.
Please help me.