IBM Support

IT45457: ERROR 401 USING CREATE API TOKEN TOOL VIA SWAGGER

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

  • When attempting to execute Storage Insights REST API calls
    through the Swagger interface, the following error occurs.
    
    Site returns: Request URL
    https://insights.ibm.com/restapi/v1/tenants/<TENANT_ID>/token
    Server Response: Error 401: SRVE0295E: Error reported: 401
    
    The "Try it out" option appears to be available but does not
    succeed. The Swagger documentation interface for the Storage
    Insights REST API (https://insights.ibm.com/restapi/docs/)
    behaves only as documentation.
    

Local fix

  • Avoid using the "Try it out" option in Swagger and instead use a
    separate REST API client to make calls.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM Storage Insights users attempting to use and follow the  *
    * swagger docs                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When attempting to execute Storage Insights REST API calls   *
    * through the Swagger interface, the following error occurs.   *
    *                                                              *
    * Site returns: Request URL                                    *
    * https://insights.ibm.com/restapi/v1/tenants/<TENANT_ID>/toke *
    * n                                                            *
    * Server Response: Error 401: SRVE0295E: Error reported: 401   *
    *                                                              *
    * The "Try it out" option appears to be available but does not *
    * succeed. The Swagger documentation interface for the Storage *
    * Insights REST API (https://insights.ibm.com/restapi/docs/)   *
    * behaves only as documentation.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR is targeted for the following release:
    
    IBM Storage Insights 1Q24   [ 54X-IBM-SI ]
    ( release target 1Q 2024 / February )
    
    The target dates for future releases do not represent a formal
    commitment by IBM. The dates are subject to change without
    notice.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT45457

  • Reported component name

    STORAGE INSIGHT

  • Reported component ID

    5608TPCSI

  • Reported release

    54X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-02-09

  • Closed date

    2024-02-12

  • Last modified date

    2024-02-12

  • 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

    STORAGE INSIGHT

  • Fixed component ID

    5608TPCSI

Applicable component levels

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSYS7R","label":"IBM Spectrum Control Storage Insights"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"54X"}]

Document Information

Modified date:
13 February 2024