Zoho Catalyst Data Store, Functions - Unable to retrieve a row

Viewed 30

I'm trying to get a row from datastore, while trying I've got the below error.I've included the script I'm trying.

Output:

{
    "status": "failure",
    "data": {
        "message": "basicio Execution Time Exceeded",
        "error_code": "EXECUTION_TIME_EXCEEDED"
    }
}

Code Snippet :

let rowData = 
    { 
        response: "George Hamilton",
    };
    const https = require("https");
    const axios = require("axios");
    const catalyst = require("zcatalyst-sdk-node");
    const app = catalyst.initialize(context);

    let datastore = app.datastore();
    let table = datastore.table('xxxx');
    let rowPromise = table.getRow(xxxxx);
        basicIO.write(rowPromise + "");
}
0 Answers
Related