Skip to Content

Issue in consuming Ariba open API

Dear Experts,

Need your inputs in resolving below issue.

"No API key found in Request" error message is shown while trying to access the Ariba Requisition approval API in Fiori application.

Please find the attached screenshots of the Destination configured in HCP, Destination path update in Neo-app.json and the Ajax call made using the configured Destination to retrieve a single PR item from Ariba client specific tenant.

Also attaching the error seen in Browser Network tab and the request , response details in Postman client.

Please let me know where I'm doing wrong.

Regards,

Parthibaraja

destination.jpg (21.6 kB)
neo-appjson.jpg (61.5 kB)
ajax-call.png (40.1 kB)
ajax-call2png.jpg (40.7 kB)
error-log.jpg (117.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Feb 05, 2018 at 05:49 AM

    Hello, Parthibaraja, I found there were some AJAX parameters are not set correctly.

    You have to change the keyword of HTTP request parameters.

    change method to "type"

    change content-type to "contentType"

    change accept to dataType"

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 28, 2019 at 11:09 AM

    Hello,

    You need to create Ariba API application in https://developer.ariba.com/api/.

    Once you create your API application, Ariba will approve and then provide API Key. Also once you have account on developer.ariba.com, you will have OAuth shared secret which you need to pass to get OAuth authentication token. Once you receive this token, then you need to pass this token to the API and then you will get the result.

    Refer to api.sap.com for more details.

    Regards,

    Yayati

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 10, 2019 at 08:14 AM

    Hello, Parthibaraja,

    I have the same issue while running API from sap hub.

    Did you solve the issue? it yes, what was the solution.

    Regards,

    Salam

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 02, 2020 at 09:56 AM

    Hi Ashwin,

    No i didn't resolve it but I used postman to perform my test calls and they were successful

    Regards,

    Salam.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.