on 2023 Jan 12 10:50 AM
Hello Team,
I am trying to get data from ARIBA supplier questionnaire answers with Pagination REST API. My role in the organization is: Role: Developer, Organization Admin and I created Application in the portal which has been approved and it has been connected to the API:
API(s) used by this Application
Realm(s) used by this Application
(AN-ID: ID)
I generated the App Key and then the BASE 64 client and secret in order to generate the token (token has been generated successfully). When I tried to get the data for specific supplier and questionnaire (I tried and with all questionaires ) it shows me error:
curl -X GET "https://eu.openapi.ariba.com/api/supplierdatapagination/v4/prod/vendors/"VendorID"/workspaces/questionnaires/QuestionaireID/qna?realm=MY_APP_NAME" -H "accept: application/json" -H "apiKey: API key" -H "Authorization: Bearer TokenID"
{"errorMsg":"Unauthorized application","isSucceed":false}
Then I added my IP in the application white list (it was empty before so should be working with all IPs based on the documentation) and I set all IPs to be whitelisted like 0.0.0.0/1, too. Then the error massage was:
"message":"Access Denied. Please contact your Organization admin"
May I kindly ask for some support as I was not able to find any related details for such kind of issue?
Thanks you in advance.
Request clarification before answering.
Issue fixed. It has been used for realm the application name, it must be the realm from the application:
Realm(s) used by this Applicatio SOURCING realm: YourRealm
...realm={YourRealm}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
39 | |
15 | |
9 | |
7 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.