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

Error While saving proxy "Bundle is invalid. Errors:[Entity : Proxy, Step Not Found: Assign Message-1;]."

While saving this sample proxy I'm getting error "Bundle is invalid. Errors:[Entity :Proxy, Step Not Found: Assign Message-1;]." Anything I missed,cant figure out please help on this.


<FaultRules>
        <FaultRule name="Quota_exhausted">
            <Step>
                <Name>Assign Message-1</Name>
                <Condition>(fault.name Matches "QuotaViolation")</Condition>
            </Step>
            <Condition>(ratelimit.Quota-1.failed=true)</Condition>
        </FaultRule>
    </FaultRules>



    
    <Set>
        <Payload contentType="application/json">
            {"Eror_code":"Quota_exhausted"}
        </Payload>
    </Set>
    <AssignTo createNew="false" transport="http" type="response"/>



Solved Solved
0 6 1,895
1 ACCEPTED SOLUTION

Your Assign Message policy has a different name

Assign-Message-1 inside the policy

Assign Message-1 as your reference to the policy.

View solution in original post

6 REPLIES 6