Smartsheet API Error using Python
Hello all,
I am trying to extract smartsheet data from a particular sheet using python and the Api but I keep getting an error preventing me from doing so. The code I use works for other sheets so I wonder whats preventing it from working now. The error I get is shown below.
ApiError: {"result": {"code": 1006, "errorCode": 1006, "message": "Not Found", "name": "ApiError", "recommendation": "Do not retry without fixing the problem. ", "refId": "1ba29nwzhu6i4", "shouldRetry": false, "statusCode": 404}}
The code is the regular ss_client.Sheets.get_sheet(sheet_ID) which works for other sheets i've been interacting with. Could someone please tell me what the issue might be.
Cheers
Best Answer
-
Hi @Adiele Ejiofor,
I can see that you also reached out to the Support team on your API issue and that the issue had to do with your GET command looking for a Sheet ID rather than a Report ID. I'm glad to hear you were able to get this issue resolved in a timely fashion.
Support will be your best bet for troubleshooting these types of issues so feel free to submit a new ticket via the Get Help form when you run into any roadblocks or unexpected behavior. If you're a licensed user on a plan that's eligible for phone support, you can also call in to the Support team between 6:00am and 6:00pm US Pacific Time, Monday through Friday. Eligible users can find the live phone support number by clicking the Account Profile Icon in the upper right corner and selecting Plan Info. This will open the Account Administration window and the phone number is listed at the bottom.
Thanks!
Ben
Answers
-
Hi @Adiele Ejiofor,
I can see that you also reached out to the Support team on your API issue and that the issue had to do with your GET command looking for a Sheet ID rather than a Report ID. I'm glad to hear you were able to get this issue resolved in a timely fashion.
Support will be your best bet for troubleshooting these types of issues so feel free to submit a new ticket via the Get Help form when you run into any roadblocks or unexpected behavior. If you're a licensed user on a plan that's eligible for phone support, you can also call in to the Support team between 6:00am and 6:00pm US Pacific Time, Monday through Friday. Eligible users can find the live phone support number by clicking the Account Profile Icon in the upper right corner and selecting Plan Info. This will open the Account Administration window and the phone number is listed at the bottom.
Thanks!
Ben
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives