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?