IBM Support

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

Subscribe

You can track all active APARs for this component.

 

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

  • R18X PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18X"}]

Document Information

Modified date:
28 September 2021