KB Article #178044

After upgrade to 7.5.1 - com.vordel.api.common.ForbiddenException: No valid license found for connector: Salesforce.com

Problem

During deployment, after upgrading to version 7.5.1, a com.vordel.api.common.ForbiddenException is thrown regarding the license for Salesforce.com API Connector. The stack-trace starts like this:

ERROR 2016/07/22 09:30:46.973 Error configuring API connector: Salesforce.com:

com.vordel.api.common.ForbiddenException: No valid license found for connector: Salesforce.com

at com.vordel.apiportal.api.connector.ApiConnectorProcessor.ensureValidLicense(ApiConnectorProcessor.java:142)

Resolution

The solution is to remove the default settings for the Salesforce.com API Connector. Here's how:

In Policy Studio, goto Environment Configuration > Server Settings > API Manager > API Connectors. Select the Salesforce.com connector and click 'Remove'. Then, expand Environment Configuration > External Connections > Client Credentials > OAuth2. Right-click the entry for Salesforce and choose 'Delete'. Now, deploy the changes and that error should be gone.