nithinmurali / pygsheets

Google Sheets Python API v4
https://pygsheets.readthedocs.io/en/latest
Other
1.51k stars 220 forks source link

add_conditional_formatting error #537

Closed rrfaria closed 2 years ago

rrfaria commented 2 years ago

Note, if this is a usage question, please ask a question in stackoverflow with pygsheets tag.

Describe the bug When I tried to use conditional formatting if cell contains "ITEM" text it will get a background red:

wks.add_conditional_formatting('G2', 'G5', 'TEXT_CONTAINS', {'backgroundColor':{'red':1}}, ['ITEM'])

To Reproduce Steps to reproduce the behavior:

"Invalid requests[0].addConditionalFormatRule: No grid with id: 2525440033". Details: "Invalid requests[0].addConditionalFormatRule: No grid with id: 2525440033">

System Information

rrfaria commented 2 years ago

Solved. sorry for that.

Was an error on ipynb extension on vscode. I restarted and worked.