Error "HTTP ERROR 404 JSP file [/error.jsp] not found.'" when logging to the tenants' API explorer
search cancel

Error "HTTP ERROR 404 JSP file [/error.jsp] not found.'" when logging to the tenants' API explorer

book

Article ID: 378130

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When trying to log in to the API Explorer (Swagger) for the tenant directly via the URL https://cloud.example.com/api-explorer/tenant/{TENANT-NAME} you see the error below:

  • You tried to log in with an user with role "Organization Administrator".
  • In VMware Cloud Director Tenant portal, the API Explorer (Swagger) is not visible for users with role "Organization Administrators".

Environment

VMware Cloud Director 10.5

Cause

The rights to use the API Explorer are not enabled on the default right bundle and on the role.

Resolution

To allow tenants to use the API Explorer, edit the Default Rights Bundle and Role:

  1. Login to VMware Cloud Director provider portal as System Administrator and navigate to Administration > Tenant Access Control > Rights Bundles.

  2. Select the Default Rights Bundle and press EDIT.

  3. Search and enable the following rights:

    EXTENSIONS > VMware Cloud Director Extension > View Extension Service API Definitions
    EXTENSIONS > VMware Cloud Director Extension > Manage Extension Service API Definitions
    ACCESS CONTROL > Organization > View API Explorer

  4. Press SAVE 

  5. Click Publish to publish the right to a specific tenant or to all the tenants.

  6. Navigate to Administration > Tenant Access Control > Global Roles, select the Organization Administrator and press EDIT.

  7. Search and enable the following rights:

    EXTENSIONS > VMware Cloud Director Extension > View Extension Service API Definitions
    EXTENSIONS > VMware Cloud Director Extension > Manage Extension Service API Definitions
    ACCESS CONTROL > Organization > View API Explorer

  8. Press SAVE

Additional Information