appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: Incorrect response from Google sheets API

Open Vidushi-Gupta opened this issue 3 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

If values in a google sheet column start with null, the API returns null values for all the rows

For example: The values of a column start with null in the column 'Medium' image The API returns the following: image

The expected response should be: [ { "Medium": "", "rowIndex": 0 }, { "Medium": "direct", "rowIndex": 1 }, { "Medium": "direct_mail", "rowIndex": 2 }, { "Medium": "display", "rowIndex": 3 },

Steps To Reproduce

  1. Create a google sheet with a column that has values starting with null
  2. Connect the google sheet data source in an appsmith app
  3. Create an API and using the Fetch Many operation, fetch the values of the column

Public Sample App

No response

Issue video log

No response

Version

Cloud - v1.8.16-SNAPSHOT

Vidushi-Gupta avatar Jan 03 '23 18:01 Vidushi-Gupta

I was able to reproduce this. In my test, it happens when the first value is null

20230103114212 20230103114236

felix-appsmith avatar Jan 03 '23 19:01 felix-appsmith

Number of users in 6m: 2401. Estimated reach percentage: 5%

Stats

Stat Values
Reach 120
Effort (months) 0.5

Irongade avatar Jan 17 '23 12:01 Irongade

checked on 15 Aug 2023, still reproducible. But keeping the priority as Low considering this looks like a rare use case.

rohan-arthur avatar Aug 15 '23 05:08 rohan-arthur