IBM Support

IT30030: ERROR 404 WHEN USING SWAGGER DATE FORMAT FOR PATH PARAMETER

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • the requirement to define an API, which has a path-parameter of
    type "string" and format "date". According to the swagger 2.0
    specification the format "date" is supported
    (https://swagger.io/specification) .
    User can activate the API without any error message, however
    when user invoke the API user get the error "404 - Not Found!
    No resources match requested URI"
    Looking at the Gateway Logs we see the error (which, by the
    way, is wrong because "date" is a "format", not a "type", but
    this is another story).
    20190509T071525.853Z [apiconnect][0x88c0016b][apigw][error]
    api-path(p1_sandbox_xxx_4.0.0_CheckParamProductionDate):
    tid(219455) gtid(f5308d120376449c90199c337746xxxx): The type
    'date' of parameter in API Path
    'p1_sandbox_health_4.0.0_CheckParamProductionDate' is not
    supported.
    20190509T071525.853Z [apiconnect][0x04b30004][mgmt][error]
    api-path(p1_sandbox_xxx_4.0.0_CheckParamProductionDate):
    tid(219455) gtid(f5308d120376449c90199c337746xxxx): The type of
    the parameter that is used in the path URI is not supported.
    20190509T071525.853Z [apiconnect][0x04b30004][cli][error]
    api-path(p1_sandbox_xxxx_4.0.0_CheckParamProductionDate): The
    type of the parameter that is used in the path URI is not
    supported.
    

Local fix

Problem summary

  • Users will receive unsupported error messages when the type of
    API parameters are set to date or dateTime. The fix resolves
    those error messages.
    

Problem conclusion

  • The fix is in 2018.4.1.7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT30030

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    18X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-08-19

  • Closed date

    2019-08-26

  • Last modified date

    2019-08-26

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels



Document information

More support for: IBM DataPower Gateways
General

Software version: 18X

Reference #: IT30030

Modified date: 26 August 2019