on 2024 Jan 08 12:01 PM
Good day,
While developing an OData API to a SuccessFactors backend the resources are exposed.
We added a policy to this API to verify the APIKey.
We can access the resources in POSTMAN.
However when using a SAP CPI odata adapter it tries to query the metadata while passing the correct APIKey, we cannot access /$metadata
We get the error:
{
"fault": {
"faultstring": "Invalid ApiKey for given resource",
"detail": {
"errorcode": "oauth.v2.InvalidApiKeyForGivenResource"
}
}
}
API Query: {{BASE_API_ENDPOINT}}/SF/ECPersonalInformation/$metadata
Has anyone experienced this before and able to resolve?
Regards,
Brandon
Request clarification before answering.
How do you pass APIkey?
show us a screenshot of your HTTP connection properties.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
33 | |
21 | |
16 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.