Dear Mukesh,
I am confused,
- on my lab box, I only see "Standard Policy Template Fragment - API Key", I cannot find your fragment, what's the version of your portal?
- API key authentication is different with token authentication
- when you call the API, did you put the api key as parameter in your request?
BTW: it's difficult to debug/reproduce problem via community, open a support ticket could be easier.
Regards,
Mark
Original Message:
Sent: 08-04-2019 11:07 PM
From: Mukesh Patra
Subject: Getting Error : API Key invalid or not Authorized to call this API
Hi,
We are using the pre-requisite "API Portal Integration Fragment - API Key" fragment. We have also registered the API with application from developer portal and using the API Key from there. Generated access token with the same client credentials of the same application. Using the same access token when we are trying to hit the API we are getting error as " API Key invalid or not Authorized to call this API".
Can you please help to debug the issue and please do let us know if any configuration needs to be changed or added.