Platform

 View Only

 Issues regarding key for the Apptio API

Jump to  Best Answer
  • Platform
Apptio Community Member's profile image
Apptio Community Member posted Thu September 08, 2022 06:47 PM

Hi everyone,

We have issues with our time settings in the projects and I've been trying to use the demo script available in the Help Center. The key has no restrictions in terms of permissions but I still get this error when I test it via Postman:


Also, is anyone aware of ApptioScript? It's on the Help Center with sparse use cases but they've forgotten to put any reference on how to actually access and use it in TBM studio.


#Platform
Rene Norskov's profile image
Rene Norskov  Best Answer
@Jonathan Timmerman Happy to assist with AppptioScript if I can.
You can use it on Editable Tables (reporting surface - Scripts in the ribbon) and Buttons (Properties / Server Action)​
#Platform
Guillermo Cuadrado's profile image
Guillermo Cuadrado
Hello, @Jonathan Timmerman. I have managed to run such a script with just 2 differences:

  1. For us, the URL is https://frontdoor-eu.apptio.com/service/apikeylogin [I trust you know what your Frontdoor URL is 😉😉😉]

  2. I had the keys in separate lines AND without variables:



    I remember reading how to do it with an environment variable, but it's worth a try with plain text, to prevent some funny JSON stuff.

​I just tried it and it worked:


I also put the code in Python to update all the Personas in Frontdoor (vid. link), and it worked, too—after some trial and error.


#Platform