IBM Support

Known Issue in Version 10.0.8.1 - API missing required name in security schema can still be validated and published

Troubleshooting


Problem

In the API Manager UI > Develop > API editor UI shows that the variable name is a required field in the Security Schema, yet the API still passes validation and can be published to the catalog if that name is missing.  
The gateway will now return a failure in the event monitoring and all other actions will be reported as failed.  
 
If the name is filled in and the API saved, all is well.  If the name is removed, the UI does capture the validation failure.
 
Example in API yaml :
securityDefinitions:
  clientIdHeader:
    type: apiKey
    description: Client ID obtained when creating the App
    in: header
    name: ''
    x-key-type: client_id
Imported broken security definition
imported
Validated broken security definition
validated

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8mKe000000CaZLIA0","label":"API Connect-\u003EAPIC Admin"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0.8;and future releases"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
08 November 2024

UID

ibm17175006