You need to sign in to do that
Don't have an account?
jash
nextPageURL 400 bad request error
I'm trying to get feed items through paging, but the next page always returns a 400 bad request error... the flow seems pretty basic, not sure what's wrong with the subsequent request but any help\ideas are appreciated. Thanks, Joan
INITIAL REQUEST:
https://na6.salesforce.com/services/data/v29.0/chatter/feeds/record/0F9800000000266CAA/feed-items
EXCERPT FROM RESPONSE:
"nextPageUrl" : "/services/data/v29.0/chatter/feeds/record/0F9800000000266CAA/feed-items?page=2014-02-06T04%3A52%3A11Z%2C0D580000013UegyCAC"
REQUEST FOR NEXT PAGE RETURNS 400 ERROR:
https://na6.salesforce.com/services/data/v29.0/chatter/feeds/record/0F9800000000266CAA/feed-items?page=2014-02-06T04%3A52%3A11Z%2C0D580000013UegyCAC
INITIAL REQUEST:
https://na6.salesforce.com/services/data/v29.0/chatter/feeds/record/0F9800000000266CAA/feed-items
EXCERPT FROM RESPONSE:
"nextPageUrl" : "/services/data/v29.0/chatter/feeds/record/0F9800000000266CAA/feed-items?page=2014-02-06T04%3A52%3A11Z%2C0D580000013UegyCAC"
REQUEST FOR NEXT PAGE RETURNS 400 ERROR:
https://na6.salesforce.com/services/data/v29.0/chatter/feeds/record/0F9800000000266CAA/feed-items?page=2014-02-06T04%3A52%3A11Z%2C0D580000013UegyCAC
The flow seems correct -- it's surprising that you're getting a 400 response from the request for the next page. Can you share the full error message?
Thanks,
Beck
Thanks for taking a look.
The error is just "The remote server returned an error: (400) Bad Request." I'm just doing an HttpWebRequest (GET)
Joan
[ {
"errorCode" : "ILLEGAL_QUERY_PARAMETER_VALUE",
"message" : "Illegal value for blah blah blah"
} ]
errorCode=INVALID_PAGING_OPTION
message=Page value malformed: 2014-02-06T04%3A52%3A11Z%2C0D580000013UegyCAC
Thanks for your help!
Are you hitting this error for all kinds of record feeds, or just for groups? Does it happen with every group or just this one?