Article Content
Article Number | 000038994 |
Applies To | RSA Product Set: RSA Identity Governance & Lifecycle RSA Version/Condition: 7.2.0 |
Issue | When testing the generic REST collector (Collectors > {Collector type} > {Collector name} > Test), the following error occurs: Unexpected response content type received. Expected content type is: application/json but received:{1} Check logs for details. The Request Headers in the collector definition are configured as follows: The following error is logged to the aveksaServer.log file ($AVEKSA_HOME/wildfly/standalone/log/aveksaServer.log):
Please refer to RSA Knowledge Base Article 000030327 -- Artifacts to gather in RSA Identity Governance & Lifecycle to find the location of the aveksaServer.log file for your specific deployment if you are on a WildFly cluster or a non-WildFly platform. The aveksaServer.log may also be downloaded from the RSA Identity Governance & Lifecycle user interface (Admin > System > Server Nodes tab > under Logs.) |
Cause | This error occurs when the data source returns a response header in lowercase, i.e. content-type. The RSA Identity Governance & Lifecycle collector expects the response header to be in camelCase, i.e. Content-Type. An example of a datasource that returns a lowercase response header is SAP as seen when using a software development tool such as Postman to test the API: |
Resolution | This issue is resolved in RSA Identity Governance & Lifecycle 7.2.0 P02. |