D
D
Daniel2021-10-21 18:37:02
Python
Daniel, 2021-10-21 18:37:02

Why doesn't append work in Google Sheets?

I try once in a while to enter data into a table, but my code either works or doesn't work. The task is as follows: I want the data to be sequentially entered one after the other, but he either writes it down or does not write it down. Here is the code itself:

service.spreadsheets().values().append(
                    spreadsheetId=spreadsheet_id,
                    range="B294:B294",
                    body={
                        "values": 
                    },
                    valueInputOption="USER_ENTERED"
                ).execute()

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ivanov, 2022-01-12
@DanielWorker

The error does not occur in this part of the code.
If the debugger points to it, then it's probably not defining variables somewhere, for example, total_sum.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question