Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Unknown Attribute Error on Update Sheet API request
I am currently using the smartsheet-csharp-sdk class library to interact with the API and I keep getting an exception when I am trying to rename a sheet through Update Sheet.
I do a GetSheet call, change the name to the new sheet name and pass that sheet as the parameter for UpdateSheet. The error I get is "Unknown attribute \"sheetname\" found at..."
The API documentation shows that it is capable of renaming a sheet name, so I'm confused as to why I'm getting this error. I'm not super familiar with writing PUT requests, but I noticed on the API doc that the example PUT request for Update Sheet has the parameter "name" and not "sheetname". Not sure if this has anything to do with it or not.