Mark as read returns Internal Server Error, 500

148 views
Skip to first unread message

Rui Milagaia

unread,
Mar 27, 2014, 8:35:33 PM3/27/14
to feedly...@googlegroups.com
Hi,

I can't seem to mark articles as read of some feeds. It keeps returning error 500.

Feed with problem:

Two Ids that return 500:
[uc7sImWLTW+eVJH4c9hLZZFKDjSsQa5J02wWk61FQo=_1449161f214:1e72981:9c6d71ab, uc7sImWLTW+eVJH4c9hLZZFKDjSsQa5J02wWk61FQo=_1449161f214:1e72980:9c6d71ab]

I have no problem with most feeds so the call is correct.

Regards

Rui Milagaia
Coding Bufflao

David Chatenay

unread,
Mar 27, 2014, 8:52:05 PM3/27/14
to Rui Milagaia, feedly...@googlegroups.com
  Hi Rui,
  There should be an error ID in the response. Could you provide it?



-- 
David Chatenay
Feedly


--
You received this message because you are subscribed to the Google Groups "Feedly Cloud" group.
To unsubscribe from this group and stop receiving emails from it, send an email to feedly-cloud...@googlegroups.com.
To post to this group, send email to feedly...@googlegroups.com.
Visit this group at http://groups.google.com/group/feedly-cloud.
To view this discussion on the web visit https://groups.google.com/d/msgid/feedly-cloud/23f213e9-927d-49df-b4a1-816a0a678269%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Cachapa

unread,
Mar 27, 2014, 9:01:49 PM3/27/14
to feedly...@googlegroups.com, Rui Milagaia
Hi David,

I'm in the same team as Rui, and we've been trying to figure out this bug.
We're getting an HTTP 500 error (Internal server error), and as far as I can tell, there's no content returned other than that error.

What's weird is that this operation seems to be working fine for some feeds but not others. We've tried looking at both messages, but other than the ids, the messages are identical.
The ids also seem to be correct.

Daniel Cachapa

unread,
Mar 27, 2014, 9:03:54 PM3/27/14
to feedly...@googlegroups.com, Rui Milagaia
For completion, here's an example of a message which fails:
{"action":"markAsRead","type":"entries","entryIds":["g9SW8cnA=_144f9b5887f:3950d80:39c0db6a"]}

David Chatenay

unread,
Mar 28, 2014, 7:01:50 PM3/28/14
to Daniel Cachapa, feedly...@googlegroups.com, Rui Milagaia
  I'll take a look. It would be great if you had a full example.
  That entry ID ("g9SW8cnA=_144f9b5887f:3950d80:39c0db6a ") doesn't look right though. The first part of the entry id (before the "_") should be 13 characters or so. It often contains slashes and plus signs, which need to be encoded if the entry id is passed in the URL itself (but *not* if you pass it inside the JSON object itself).
  Hope this helps.


-- 
David Chatenay
Feedly


Daniel Cachapa

unread,
Mar 29, 2014, 6:43:46 AM3/29/14
to David Chatenay, feedly...@googlegroups.com, Rui Milagaia

I'm not at home right now, but that's the exact id we're getting from freely.
The feed is from arbdroid.com (we were testing rtl languages).

Please let me know if you need more info. I'll do it as soon as I get home.

Daniel Cachapa
Sent from a mobile device

Daniel Cachapa

unread,
Mar 30, 2014, 6:35:24 AM3/30/14
to feedly...@googlegroups.com, David Chatenay, Rui Milagaia
Hi David,

I went through the code again, and realized that our json lib was silently altering the id.
I've fixed the issue and it's working properly now.

Thanks for your time.
Reply all
Reply to author
Forward
0 new messages