Issue
Discovery HTTPClassiProbe error "response length is larger than 4000 characters".
Release
Pre NewYork environments.
Cause
Pre NewYork release, the HTTPClassyProbe result will be replaced by "response length is larger than 4000 characters" if the response is larger than 4000 characters.
This behavior is changed in NewYork release. Starting in NewYork, the response is truncated to keep the first 4000 characters. Thus the HTTPClassiProbe classification can complete successfully.
Resolution
- Upgrade to NewYork
OR
- Use another "path" which returns a smaller response.
2. Possibly use a path which may take a header value which will assist in having a smaller response.
Related Links
https://docs.servicenow.com/csh?topicname=create-an-http-classifier.html&version=latest