⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
Discussion options

You must be logged in to vote

I've got the same problem with versions 2.128.0 and 2.147.0, and by trial and error, I have found that it is fixed by specifying the majorDimension of the DataFilterValueRange. So in your case that would be:

    values = [
        ['X', 'X', 'X'],
    ]
    body = {
        "valueInputOption": 'USER_ENTERED',
        "data": [{
            "dataFilter": {
                'gridRange': {
                    'sheetId': id_sheet,
                    'startRowIndex': 0,
                    'endRowIndex': 1,
                    'startColumnIndex': 0,
                    'endColumnIndex': 3,
                },
            }, 
            "majorDimension": 'ROWS',  # <-- THIS
            "values": 

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nraffuse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants