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.  Affected is use of JSON Schema Validation

    Posted Fri January 05, 2024 08:10 AM
      |   view attached

    Hi All,

           I am encountering an issue while initiating an API in API Connect.

          Validation error: Please refer to the attached image.

          Validation schema:

           Minimum: 10

            Maximum: 999999999999999999

    Note:

    DataPower Version: 10.5.0.5

    API Connect Version: 10.0.5.5

    Please suggest me the solution to over come above problem 



    ------------------------------
    Anusha Pudari
    ------------------------------


  • 2.  RE: Affected is use of JSON Schema Validation

    Posted Mon January 08, 2024 01:33 AM

    Hi Team,

    can any suggest an appropriate solution to resolve the issue.

    Regards,

    Anusha.



    ------------------------------
    Anusha Pudari
    ------------------------------



  • 3.  RE: Affected is use of JSON Schema Validation
    Best Answer

    Posted Tue January 09, 2024 11:45 AM

    Hi Anusha,
    I had to look up what to call a number that big! 999.9999 quadrillion or one short of a quintillion :-) Do you expect to see a number that large? I'm not sure what the maximum number is but you'll need to reduce that to get the json schema validation file to properly compile.  I did some testing and the APIC UI will only allow 

    maximum: 999999999999999900

    and the validation policy does not throw the compilation error for that value.  That's just 99 shy of what you were trying before.

    Best Regards,
    Steve



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