Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

GetOAuthV2Info returns "Invalid API call as no apiproduct match found"

I am trying to retrieve the attributes for a RefreshToken using the GetOAuthV2Info policy below, but Apigee is returning the error "Invalid API call as no apiproduct match found". The refresh token is definitely valid because I am able to refresh it with the RefreshAccessToken operation in a subsequent step.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<GetOAuthV2Info continueOnError="false" enabled="true" name="get-refresh-token">
    <DisplayName>GetRefreshToken</DisplayName>
    <RefreshToken ref="request.queryparam.refresh_token"/>
</GetOAuthV2Info>

Why am I getting this error?

1 3 556
3 REPLIES 3