Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

When accessing the Carbon Black API using a custom Powershell script, incomplete JSON content is returned.

When accessing the Carbon Black API using a custom Powershell script, incomplete JSON content is returned.

Version
This solution applies to all versions.


Issue

When accessing the Carbon Black API using a custom Powershell script, incomplete JSON content is returned.

 

Symptoms
The JSON content appears malformed, or otherwise incomplete.  The issue might also be observed following an upgrade to v5.1.

 

Solution

This is not a Carbon Black issue.  This is a known limitation of Powershell.  By design, the maximum data Powershell will deserialize into JSON is 2mb.   Refer to the following link for more details: https://stackoverflow.com/questions/16854057/convertfrom-json-max-length

Labels (1)
Was this article helpful? Yes No
100% helpful (1/1)
Article Information
Author:
Creation Date:
‎09-15-2015
Views:
998
Contributors