Error in Python SDK: get_sheet_as_csv error with response.save_to_file
Hi,
I am trying to fetch the sheet as a CSV. I can query the contents of the sheet using sheet = smart.Sheets.get_sheet(sheetId) and then sheet.rows object. But when I call sheet.get_sheet_as_csv, I get the following error.
I couldn't find 3.0.4 SDK documentation, so referring to this
python: 3.10. SDK version: smartsheet_python_sdk-3.0.4, OS: macOS 14.5 (Sonoma)
File "/Users/—/test-sheet/venv/lib/python3.10/site-packages/smartsheet/sheets.py", line 593, in get_sheet_as_csv
response.save_to_file()
AttributeError: 'Error' object has no attribute 'save_to_file'
I would appreciate any suggestions or pointers to resolve this.
Answers
-
Hi @ztsyed!
Currently, Smartsheet Support does not handle SDK-related inquiries. If you’ve tested and found an issue with the SDK, please report it on the relevant GitHub page. You can access the links to these pages in our API documentation here: Smartsheet API Documentation.
Should you not get a response from the Community, consider checking out StackOverflow to connect with other developers to get more help.
Cheers,
Isaac.
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 460 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives