Change Agent with Python SDK is not working
Hi,
I'm using smartsheet-python-sdk version 3.0.2 with Python 3.11 and trying to set the Change Agent so I can use it to read when receiving the webhooks but although I pass the change_agent parameter this is not being applied. When i made the request using cURL it works fine.
The below is how I set the change_agent:
smartsheet_client = smartsheet.Smartsheet(access_token="MyToken",user_agent="MyAgent")
Any suggestions?
Best Answer
-
For anyone having same issue, please see my solution below:
I had to go through the smartsheet sdk to understand how to declare the change_agent.
In smartsheet_client you need to use with_change_agent() function as per sample below:
smartsheet_client.with_change_agent('YouChangeAgentHere')
Answers
-
For anyone having same issue, please see my solution below:
I had to go through the smartsheet sdk to understand how to declare the change_agent.
In smartsheet_client you need to use with_change_agent() function as per sample below:
smartsheet_client.with_change_agent('YouChangeAgentHere')
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.3K Get Help
- 392 Global Discussions
- 213 Industry Talk
- 447 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 292 Events
- 35 Webinars
- 7.3K Forum Archives