TypeError: Cannot read properties of undefined (reading 'VarCharValue') in ccf tool

5 views
Skip to first unread message

Shainy Dsouza

unread,
Jun 14, 2024, 10:37:11 AM (5 days ago) Jun 14
to Cloud Carbon Footprint
Hi Team

i have set up the Cloud carbon app with aws cloud provider.
The athena query returns the results in the cosole while running via cloud carbon i am getting the below error

   const cost = parseFloat(rowData[8].VarCharValue)

                                       ^

TypeError: Cannot read properties of undefined (reading 'VarCharValue')

    at CostAndUsageReports.convertAthenaRowToCostAndUsageReportsRow (app path /node_modules/@cloud-carbon-footprint/aws/src/lib/CostAndUsageReports.ts:790:40)


Regards

Jovita

Reply all
Reply to author
Forward
0 new messages