Error "could not find article that just added to db: 5576330055082049537" posting share

7 posts / 0 new
Last post
Cameron Cooke's picture
Joined: 02/16/2012
Mon, 02/20/2012 - 04:59
Error "could not find article that just added to db: 5576330055082049537" posting share

I'm having problem posting a share to LinkedIn from my Android application. I'm using the library "linkedin-j" for Android. I'm encountering the error "could not find article that just added to db: 5576330055082049537" when attempting to share with the status code of 400.

The XML request body that Linkedin-j is sending is:

<?xml version="1.0"?>
<share>
<content>
<title>My life expectancy is 89.3 years. Use the Towers Watson app to find out yours. </title>
<submitted-url>http://www.towerswatson.com/assets/downloads/mortality/</submitted-url>
</content>
<visibility>
<code>connections-only</code>
</visibility>
</share>

I've successfully requested and retrieved a valid oAuth access token and I can post a status updates. But I can't post shares.

I've tried this on a two different API accounts and have the same issue. I've also tried adding the comment field to the request but this had no effect.

I've checked over the documentation here https://developer.linkedin.com/documents/share-api# and can't see that I'm doing anything wrong.

Thanks.

Jason Nochlin's picture
Joined: 02/02/2011
Tue, 02/21/2012 - 13:28

I'm seeing a similar error when trying to post certain links. For some, I found that I could get it to work by first typing the link manually into the LinkedIn Status Update field on my homepage at linkedin.com. For others, wrapping them in a URL shortener worked. Very strange behavior

Cameron Cooke's picture
Joined: 02/16/2012
Thu, 02/23/2012 - 02:15

That is strage thanks for the info. Would LinkedIn link to comment on this issue?

Steven Citron-Pousty's picture
Joined: 08/02/2011
Thu, 02/23/2012 - 13:29

Hey Guys:
I just reproduced the error here using Scribe (rather than linkedin-j) on desktop Java. Therefore I don't think android or linkedin-j is the issue. I have forwarded on to engineering to see if we can get better information.
Thanks
Steve

Eran Zimbler's picture
Joined: 02/19/2012
Fri, 02/24/2012 - 07:51

Hi,
I seem to have the same error with ruby using the ruby-linkedin gem on code that was tested as working some days ago

Jeremy Johnstone's picture
Developer Advocate
Joined: 04/17/2011
Tue, 02/28/2012 - 19:17

Hi Eran (et all),

This is a bug that is being tracked by the share team at LinkedIn. I do not have an ETA at this time, but thankfully it only affects a very very small percentage of shares. We will post an update here once it's resolved, but hopefully it will be very soon.

-Jeremy

Cameron Cooke's picture
Joined: 02/16/2012
Wed, 02/29/2012 - 01:55

Thanks for the update.