Hello,
I get an error when calling getReport ( or getReportAsCSV ).
{
statusCode: 404,
errorCode: 1006,
message: 'Not Found',
refId: 'lrrf81wvdugg'
}
The id exists ( I have double checked by calling ss.sheets.listSheets )
Here is the code I am using ( node.js )
var client = require('smartsheet');
var fs = require("fs")
// Set options
var options = {
id: 8702473624938372
};
var ss = client.createClient({ accessToken: "****************" });
// Get report
ss.reports.getReport(options)
.then(function(report) {
console.log(report);
})
.catch(function(error) {
console.log(error);
});
Thanks for your help