- RSA Governance & Lifecycle 8.0.0
When clicking the "Test REST API" button of the Generic REST Collector and error message similar to following is displayed.
Unexpected response content type received. Expected content type is: application/json but received: [text/html;charset=UTF-8] Check logs for details.
The Test REST API feature is designed to return sample data from the endpoint to validate that the API is configured correctly. (At this time) the only valid "Response Expression Type" for the Generic REST Collector is JsonPath data. This data must be formatted and returned as a standard JSON object in the request body.
Other unexpected data types including but not limited to error messages will not be interpreted correctly as JSON data. Endpoints, or proxy servers or firewalls, may return error messages or informational messages as either text or html. These messages may or may not be human readable.
Inspect the aveksaserver.log file at the time of the test and look for ERROR level log messages that relate to the failure. These may include text that may assist you in understanding the failure.
05/08/2024 14:07:24.095 ERROR (ApplyChangesPerformQuery-1713976410138-1713976410138) [com.aveksa.client.genericrest.postprocessor.impl.GenericRESTPostprocessorImpl] Unexpected response content type: { Expected: application/json, Received: [text/html;charset=UTF-8], Error Message: <html><head><title>Error</title></head><body>findAccounts</body></html>
}
Further diagnostics about the Request object may be obtained by enabling DEBUG logging.
How to enable DEBUG level logging for the Generic REST Connector in RSA Governance & Lifecycle
Related Articles
Collectors do not pick the new password from the password vault in RSA Governance & Lifecycle 46Number of Views Generic REST Collector ignores the Response Timeout Setting configured in the Collector Definition in RSA Identity Governa… 70Number of Views RSA Identity Governance and Lifecycle Access Fulfillment Express (AFX) command output parameters do not work if the attrib… 264Number of Views Local roles are not picked up by Role Review 5Number of Views Rejecting Approval of an Application Role Change Request item fails in RSA Identity Governance & Lifecycle 53Number of Views
Trending Articles
RSA Authentication Manager 8.9 Release Notes (January 2026) RSA SecurID Authentication Engine 3.0.0 for Java Release Notes RSA Authentication Manager 8.3 Dell 630 and 230 hardware appliance loses ability to access keyboard when running PING 4.0 … RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA SecurID software token .sdtid file fails to import into RSA SecurID Software Token 5.0 for Windows