Today, I noticed that all my API calls making shares to LinkedIn company pages return the following error:
Invalid arguments: {S_412_PRECONDITION_FAILED=Invalid arguments}
I'm using XML format. I tried to make the same share but to LinkedIn accounts and it works very well.
Here is my xml request:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<share>
<comment>Comment</comment>
<content>
<title>title</title>
<description>description</description>
<submitted-url>URL</submitted-url>
<submitted-image-url>IMAGE_URL</submitted-image-url>
</content>
<visibility>
<code>anyone</code>
</visibility>
</share>
Has there been a breaking change in the LinkedIn API?