You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an object's container is not resolved by adds.py processing, the resulting JSON file will have objects with the ContainedBy attribute set to null or []. At a minimum, null is causing users_*.json files to fail ingestion in BHCE 6.0.0 with this error
bloodhound-1 | {"level":"error","time":"2024-10-21T20:11:10.277709133Z","message":"Error decoding ein.User object: json: cannot unmarshal array into Go struct field User.ContainedBy of type ein.TypedPrincipal"}
This error is also seen with Groups, but I'm not seeing it cause the groups_*.json file to fail ingestion.
Fix
The ContainedBy attribute should be a dict, instead of a list. I was able to resolve the error by manually setting the attribute in JSON files to "ContainedBy": {}
The text was updated successfully, but these errors were encountered:
If an object's container is not resolved by
adds.py
processing, the resulting JSON file will have objects with theContainedBy
attribute set tonull
or[]
. At a minimum,null
is causingusers_*.json
files to fail ingestion in BHCE 6.0.0 with this errorThis error is also seen with Groups, but I'm not seeing it cause the
groups_*.json
file to fail ingestion.Fix
The
ContainedBy
attribute should be a dict, instead of a list. I was able to resolve the error by manually setting the attribute in JSON files to"ContainedBy": {}
The text was updated successfully, but these errors were encountered: