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
@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", [])
The text was updated successfully, but these errors were encountered:
linkedin-api-python-client/linkedin_api/clients/restli/response_formatter.py
Line 142 in 6331e52
@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", [])
The text was updated successfully, but these errors were encountered: