Calling API's in PAPI portal does not work
search cancel

Calling API's in PAPI portal does not work

book

Article ID: 94097

calendar_today

Updated On:

Products

CA API Developer Portal CA API Gateway

Issue/Introduction

If API is chosen in Portal API and you choose SUBMIT to check if you get a response, nothing shows up. There are no error messages either. 

Environment

All supported versions of the API Portal

Cause

The token end point is the tenant name. You must have a host file entry of this in the portal machine.

Resolution

In the portal machine, open the /etc/hosts file. Create an entry with the portal IP and <tenant_name>.<domain-name.com> and <tenant_name>-ssg.<domain-name.com>

See the following section in the documentation to update the hosts file
Edit Hosts File for Local Access

Example: If tenantABC is your tenant then your entry would look like this in /etc/hosts

112.113.114.115       tenantABC-ssg.domain.com          tenantABC.domain.com