I am trying to enforce an app quota using custom attributes for a proxy that is secured using an oAuth2 policy, but am unable to resolve any of my custom attributes. The attributes interval, timeUnit and count are defined properly for the app, and all contain valid values. I appear to have a problem with how I defined the references in the Quota policy, but I’m not sure what the issue is. Any ideas?
Error Message:
Failed to resolve quota interval reference oauthv2.verify-oauth-v2-access-token.app.interval in quota policy {1}
Note: The same error appears for the other two attributes as well (not shown).
OAuthV2 Policy:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> Verify OAuth v2.0 Access Token VerifyAccessTokenQuota Policy:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
