Hi , i am utilizing plaid platform to retrieve transactions and store it in Zoho catalyst Datastore, but i am getting issue while initializing catalyst with req object in webhook that automatically called by plaid.here is the error info below how can i resolve it? here is my code
app.post("/plaid/webhook", async (req, res) => {
try {
const {
webhook_type,
webhook_code,
item_id,
new_transactions,
} = req.body;
var catalystApp = catalyst.initialize(req);
res.status(200).json("success");
} catch (error) {
console.log("error", error);
res.status(500).json("Error");
}
});
errorInfo: {
code: 'app/invalid_project_details',
message: 'Failed to parse object',
value: {
host: '4875-154-192-18-10.ngrok-free.app',
'user-agent': 'Go-http-client/2.0',
'content-length': '200',
'accept-encoding': 'gzip',
'content-type': 'application/json',
'plaid-verification': 'eyJhbGciOiJFUzI1NiIsImtpZCI6IjZjNTUxNmUxLTkyZGMtNDc5ZS1hOGZmLTVhNTE5OTJlMDAwMSIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MDUwNDE1MDgsInJlcXVlc3RfYm9keV9zaGEyNTYiOiJmMDAzMzkwYzI1ODYyZTZmNzkzNDAzZjNmYWE1NTdlYjUyNmMyNGYwZjI2MjE5NWMwOWZkODE4MmIyMmViMWQzIn0.-eI70uDMyz0BmNsa4cbPcu8p4ZHbwYNPA7RE713IODKhn8GSRNHSIwReE6_RvVtU4LSTBYY_l25N692nH2ZOMQ',
'x-forwarded-for': '52.21.26.131',
'x-forwarded-host': '4875-154-192-18-10.ngrok-free.app',
'x-forwarded-proto': 'https'
}
},