API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#API Connect
#Applicationintegration
#APIConnect
 View Only
  • 1.  What throws an 'APIRuleError' error?

    Posted 04/24/24 08:16 AM
    Edited by Mohamed Alkhaligy 05/02/24 03:10 AM

    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 05/09/24 08:58 AM

    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 05/16/24 01:23 PM

    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
    ------------------------------