Invalid Api Key For Given Resource

Hi,

I have an API which requires a API key to get through. I have set the same verification policy to my set of API's. However, some of my API's work and the other do not work giving me the below error.

{"fault":{"faultstring":"Invalid ApiKey for given resource","detail":

{"errorcode":"oauth.v2.InvalidApiKeyForGivenResource"}}}

can any one suggest that soloution

0 1 1,689
1 REPLY 1

The API Key is but one part.

An API Key is associated to ("owned by") a developer app.

The API Key is also known as a credential.

Each deeloper app may have 1 or more credentials associated to it.

Each credential is authorized on a set of API Products (1 or more)

Each API Product is a wrapper around a set of 1 or more API Proxies.

If the API Proxy in question calls VerifyApiKey, but the key (Credential) is not authorized for any API Product that includes the API Proxy, you will get

"Invalid API Key for Given Resource".