@shimizust
When no "elements" returned in json_data => it raises a "ResponseFormattingError" because of "None" default value and doesn't show the body of the real exception
replace
elements = json_data.get("elements", None)
by
elements = json_data.get("elements", [])
https://github.com/linkedin-developers/linkedin-api-python-client/blob/6331e52f5ea59b326447efa67a9bf925ed2d9ec7/linkedin_api/clients/restli/response_formatter.py#L142
@shimizust When no "elements" returned in json_data => it raises a "ResponseFormattingError" because of "None" default value and doesn't show the body of the real exception
replace
elements = json_data.get("elements", None)
byelements = json_data.get("elements", [])