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
- 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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives