API Connect

 View Only
  • 1.  What throws an 'APIRuleError' error?

    Posted 25 days ago
    Edited by Mohamed Alkhaligy 18 days ago

    I am currently using APIC 10.0.1.x and I am trying to map all APIC errors to our custom error responses. During testing, I found that in some cases, such as validating a required query parameter or when a service is not found, an APIRuleError is thrown. So, my questions are:

    1. When is an APIRuleError thrown? Have I covered all cases or are there others?
    2. Why is there no documentation on APIRuleError along with the rest of the errors in the IBM documentation?
    3. Are there other undocumented errors that I should consider handling?

    Edit 02/05/24: Can you @Steve Linn, @Chris Dudley, or anyone from the APIC team reply?

    ------------------------------
    Mohamed Alkhaligy
    ------------------------------



  • 2.  RE: What throws an 'APIRuleError' error?

    Posted 10 days ago

    Reply 09/05/24: Can you @Steve Linn@Chris Dudley, or anyone from the APIC team reply?



    ------------------------------
    Mohamed Alkhaligy
    ------------------------------



  • 3.  RE: What throws an 'APIRuleError' error?

    Posted 3 days ago

    Hi Mohamed,
    This support note just came out https://www.ibm.com/support/pages/node/7137309?myns=swgother&mynp=OCSSMNED&mync=E&cm_sp=swgother-_-OCSSMNED-_-E.  Although the topic of the note isn't specific to the APIRuleError, it does document two issues which would cause the APIRuleError.  I don't know if there are other issues that would also cause this error, but the API not found and a required parameter not provided are the two that are documented.

    Best Regards,
    Steve Linn



    ------------------------------
    Steve Linn
    Senior Consulting I/T Specialist
    IBM
    ------------------------------