Hello Team,
It displays 429 error for both public and partner on every call made,please suggest.
Thank you
Solved! Go to Solution.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Quota async="false" continueOnError="false" enabled="true" name="Quota-1"> <DisplayName>Quota-1</DisplayName> <Properties/> <Interval>1</Interval> <Distributed>true</Distributed> <Synchronous>true</Synchronous> <TimeUnit>minute</TimeUnit> <Allow> <Class ref="request.queryparam.appteam"> <Allow class="partner" count="4"/> <Allow class="public" count="2"/> </Class> </Allow> </Quota> <br>
So your API call should also have an appteam queryparam.
https://org-env.apigee.net/basepath?appteam=public https://org-env.apigee.net/basepath?appteam=partner
Hi @pratheek hipparagi, please add some more information on your query and we will help.
XML sample code
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Quota async="false" continueOnError="false" enabled="true" name="Quota-1"> <DisplayName>Quota-1</DisplayName> <Properties/> <Interval>1</Interval> <Distributed>true</Distributed> <Synchronous>true</Synchronous> <TimeUnit>minute</TimeUnit> <Allow> <Class ref="request.queryparam.appteam"> <Allow count="4"/> <Allow count="2"/> </Class> </Allow> </Quota>
This is Conditional Quota Count
For Quota based Calls It should allow the call and status should be 200,but call fails and status shows 429.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Quota async="false" continueOnError="false" enabled="true" name="Quota-1"> <DisplayName>Quota-1</DisplayName> <Properties/> <Interval>1</Interval> <Distributed>true</Distributed> <Synchronous>true</Synchronous> <TimeUnit>minute</TimeUnit> <Allow> <Class ref="request.queryparam.appteam"> <Allow class="partner" count="4"/> <Allow class="public" count="2"/> </Class> </Allow> </Quota> <br>
So your API call should also have an appteam queryparam.
https://org-env.apigee.net/basepath?appteam=public https://org-env.apigee.net/basepath?appteam=partner
Thank you the issue got resolved..,But I did a small mistake in appteam queryparam.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |