BrowserAgent unable to inject snippet into Java JSP

Document ID : KB000072148
Last Modified Date : 28/02/2018
Show Technical Document Details
APM DXC installed with Browser Agent on an application server, but the snippet injection fails in the customer's webpages hosted on weblogic server.
DigitalExperienceCollector.log has exception:
[XNIO-2 task-4] ERROR c.c.a.c.p.h.e.RestResponseEntityExceptionHandler - error caught: Agent browser"is not recognized Agent browser"is not recognized
APM 10.x
Java JSP
Check the JSP page response content encoding.
If the content encoding is not null, e.g. "Content-Encoding: gzip", then the IntroscopeAgent.profile property introscope.agent.browseragent.contentencoding.enabled" needs to be enabled to allow snippet injections by the Browser Agent. 
By default introscope.agent.browseragent.contentencoding.enabled=false"

Add this line into IntroscopeAgent.profile, and restart agent/AppServer
Additional Information:
The property introscope.agent.browseragent.contentencoding.enabled is included in the documentation here: