Platform

Platform

A place for Apptio product users to learn, connect, share and grow together.

 View Only
  • 1.  Scorned by the API

    Posted 05/30/18 03:45 PM

    It's really cool that so much of the product is exposed programmatically. User management, all of the tables, reports, metrics, datalink, you name it, it's available through the API. And the documentation is pretty straightforward to get you going.

     

    In this specific case, I'm trying to share data from a table. I had set up a postman environment and set of examples that did all the connecting stuff, and it was able to pull the data just fine. Today we were trying it and it did not work. In fact, I received a borderline-rude error message:

     

       The server understood the request, but is refusing to fulfill it

     

    Excuse me? I looked it up, and it's a generic 403 error message for lack of authorization or some such. Has anyone seen this before?





    #Platform


  • 2.  Re: Scorned by the API

    Posted 05/30/18 05:04 PM

    Haha! Maybe Apptio has introduced AI and is developing human like qualities 

     

    my guess (and I’m not very technical about API’s) is that it is a rule/permissions conflict


    #Platform


  • 3.  Re: Scorned by the API

    Posted 05/30/18 05:59 PM

    I'm really glad I got to use this.


    #Platform


  • 4.  Re: Scorned by the API

    Posted 05/31/18 07:49 AM

    Apptio is getting sassy!!


    #Platform


  • 5.  Re: Scorned by the API

    Posted 05/31/18 09:18 AM

    What version of R12 are you on? If you are on 12.4.1.2, you will have issues with API. Apparently this newer version doesn't work with the "Swagger API" that the old version used to be on (The Best APIs are Built with Swagger Tools | Swagger). To be honest, when Apptio tried to explain this, I was totally lost.

     

    Check with your Apptio CSR/CSM (Customer Success Rep) and see what they say. According to our Apptio's CSR, API is not a native component of their tool and he wasn't able to help us. But it really depends how knowledgeable your CSR is, you may be on your own to figure this one out. Our rep does not know the API technology at all.

     

    R12 Version

     

    Sorry I cannot be of any further help to answer your question.


    #Platform


  • 6.  Re: Scorned by the API

    Posted 05/31/18 09:32 AM

    Well, I'm on 12.4.0.4, so that's maybe not it. I'll reach out to my rep. But thanks, that would be gnarly to run up against something like that.


    #Platform


  • 7.  Re: Scorned by the API

    Posted 06/22/18 12:40 PM

    Hi Tim, 

     

    Before I call my rep, was the issue resolved or was your rep able to point you to a solution?

     

    My curl scripts were working until yesterday.  When I checked in the  Swagger API tool, I found a similar error.

     

    "{ "message": "The server encountered an unexpected condition which prevented it from fulfilling the request" }

     

    Thanks.

     

    Oly


    #Platform


  • 8.  Re: Scorned by the API

    Posted 06/22/18 01:22 PM

    Nevermind.  I figured it out.  I found out we switched to a different node for failover and I had to grant the API key access to it.


    #Platform


  • 9.  Re: Scorned by the API

    Posted 07/19/18 02:01 PM

    Sometimes when I have those kind of problem I just open a ticket or also contact my Apptio contact directly. Usually are error becuase we pass a step or kind of those mistakes.


    #Platform