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
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 462 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives