You need to sign in to do that
Don't have an account?
cfaherty
FYI delete of ContentPost record gives error on API < 21.0
An FYI, here's something fixable by moving to the next API.
I was just debugging something and realized that on API 20.0 deleting a NewsFeed record which is a ContentPost fails.
message=sObject type 'FeedItem' is not supported.
statusCode=INVALID_TYPE
success=false
Using API 21.0 succeeds.
Just to clarify, evidently it is occurring on all post types since the last update. I get that 'FeedItem' is not supported when attempting to delete NewsFeed records using API 20.0. Moving to API 21.0 fixes it.