New error on existing API code
This morning, I started receiving the following error message in c# code:
Smartsheet.Api.InvalidRequestException: 'This feature is not available for your account.'
on this line of code:
CopyOrMoveRowResult resultsX = smartsheet.SheetResources.RowResources.MoveRowsToAnotherSheet(isheetX.Id.Value, directiveX, null, null);
This c# code has run without issue for 2+ months. Did something change on the Smartsheet side? This is a production issue for us, so urgent.
Help is appreciated!
Thanks, Mike
Comments
-
EDIT: The issue appears to be resolved for me.
I am also receiving this error, with the python API.
Smartsheet-python-sdk version: 2.83.0
Python version: 3.7
Message:
Response: {
status: 400 Bad Request
content: {
{
"errorCode": 5157,
"message": "This feature is not available for your account.",
"refId": "eot2sn3s1046"
}
}
Code:
response = ss.Sheets.move_rows(
source_id,
smartsheet.models.CopyOrMoveRowDirective({
'row_ids': rows_to_move,
'to': smartsheet.models.CopyOrMoveRowDestination({
'sheet_id': dest_id
})
})
)
-
Hi Michael,
Can you confirm this issue is resolved for you?
Additionally, I want to check and see whether an automated Move Row workflow could be useful for you, potentially as a replacement to moving rows via API. I’d love to learn more about your use case and would be happy to share info about how automated Move Row works. Please use this link to set up time.
Thanks,
- Scott Tewel | Product Manager, Automation
-
Hi Scott - the issue is resolved...I was able to run my code successfully on Friday. I appreciate the offer to discuss why the Move automation and my use case. I will use the link and setup time as suggested. Thanks, Mike
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives