Unlimited Count for Quota policy? allow=0

Not applicable

Hi

What happen if allow value inside Quota Policy implementation is set to 0? For example:

<Quota name="CheckQuota">
....
<Allow count="0"/>
....
<Quota/> 

does apigee take 0 as unlimited? if not, is there anyway to configure an unlimited allowed count?

0 2 223
2 REPLIES 2

I don't know exactly what happens. Have you tried it? What results do you see?

To avoid the quota conditionally, wrap the Quota policy in a condition and test the "wantUnlimited" context variable.

Or just eliminate the Quota policy from the flow to avoid the Quota unconditionally.

Why do you want to apply Quota policy, If you want to provide unlimited access ? if specific reason ?