DEKHTIARJonathan / python3-linkedin

Python3 interface to the LinkedIn API
https://dekhtiarjonathan.github.io/python3-linkedin/
MIT License
84 stars 36 forks source link

400 Client error : Bad Request #12

Closed aurelg closed 6 years ago

aurelg commented 6 years ago

Hi Jonathan,

As of today, I'm facing a problem when publishing links with the API using the submit_share function. Here is the error message (I edited it to remove my access token, which is valid: if I alter it, I get an unauthorized error) :

400 Client Error: Bad Request for url: https://api.linkedin.com/v1/people/~/shares?oauth2_access_token=XXXXXXXXXXXXXXXXXX: Invalid arguments: {S_400_BAD_REQUEST=Bad request}

Any idea about what's going on / how to debug it? :)

aurelg commented 6 years ago

It works now. Probably a problem w/LinkedIn.

DEKHTIARJonathan commented 6 years ago

My pleasure to help you as hard as possible ;)