Skip to content

get_profile status:410 Error #6

@batuhanmtl

Description

@batuhanmtl

KeyError Traceback (most recent call last)
Cell In[8], line 1
----> 1 api.get_profile(profiles[9]['urn_id'])

File ****site-packages\open_linkedin_api\linkedin.py:747, in Linkedin.get_profile(self, public_id, urn_id)
745 data = res.json()
746 if data and "status" in data and data["status"] != 200:
--> 747 self.logger.info("request failed: {}".format(data["message"]))
748 return {}
750 # massage [profile] data

KeyError: 'message'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions