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
------------------------------
Original Message:
Sent: Thu May 09, 2024 08:58 AM
From: Mohamed Alkhaligy
Subject: What throws an 'APIRuleError' error?
Reply 09/05/24: Can you @Steve Linn, @Chris Dudley, or anyone from the APIC team reply?
------------------------------
Mohamed Alkhaligy
Original Message:
Sent: Wed April 24, 2024 08:15 AM
From: Mohamed Alkhaligy
Subject: What throws an 'APIRuleError' error?
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:
- When is an APIRuleError thrown? Have I covered all cases or are there others?
- Why is there no documentation on APIRuleError along with the rest of the errors in the IBM documentation?
- 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
------------------------------