API Event Reporting error
Hello everyone,
I am trying to develop an API connexion with Smartheet, but I have an error returned by a call that says that the action that the user was attempting is not included in my plan.
"errorCode" : 1013,
"message" : "The operation you are attempting to perform is not supported by your plan.",
"refId" : "1jenx1k9kg00r"
I am looking to retrieve events from a sheet, and I understood that I need Event Reporting add-on to do this with the API.
Is that correct ? I was thinking that the use of Smartsheet API didn't imply to buy an add-on.
Thank you for your help,
Corentin
Best Answer
-
Great question! Yes, it sounds like that would be a good way to go. You can ask anyone in your company to share data to that generic account then, if you need access to those sheets via API (but not necessarily in your own, personal Smartsheet account).
Keep in mind though, that if an unauthorized user gets a copy of this API token, they will be able to access all Smartsheet data that this account has access to, both to read and modify on your behalf. You should keep your tokens secure and do not share them with anyone. See Security Best Practices.
Hope that helps,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
What you can do with the API is dependent on what you have access to as a licensed user in your specific plan.
The API access token is essentially a log-in password so you can access all the sheets & features that are available, but only for that specific account. (In the same way that if you logged in through the Smartsheet App UI you would have access to those specific features and sheets.) Does that make sense? For more information about Access Tokens, see this section, here.
This does mean that if you are using an access token for a licensed account that does not have access to Event Reporting, you won't be able to create Event Reporting calls. You can read more about Event Reporting in the API Documentation, here.
Our Help Center also has a Webinar on the API from Engage 2018, if you're interested! (See here.)
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Hello @Genevieve P
Thank you for your clear answer about API management !
Thinking about what you said, I was wondering what is the best practice to use an API access token :
For example I have not access to all sheets and workspaces in my company, but I need to have access to all this elements for my API.
So should I create a generic user that is a licensed and system admin user, and share it to all my elements in my company (sheets, workspaces, etc.) so that when I use his API token, I have access to all the elements ?
Thank you for your time and your help,
Corentin
-
Great question! Yes, it sounds like that would be a good way to go. You can ask anyone in your company to share data to that generic account then, if you need access to those sheets via API (but not necessarily in your own, personal Smartsheet account).
Keep in mind though, that if an unauthorized user gets a copy of this API token, they will be able to access all Smartsheet data that this account has access to, both to read and modify on your behalf. You should keep your tokens secure and do not share them with anyone. See Security Best Practices.
Hope that helps,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
@Genevieve P okay thank you for your great help !
Corentin
-
No problem! Happy to help 😊
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives