Introduction
Anyone that has worked with the SharePoint 2013 Social API (Server and Client) has probably gained some gray hairs with the ominous “Internal Error Code…” exception that pops up like mushrooms when something goes wrong. Then you get something like:
"The operation failed because an internal error occurred. Internal type name: Microsoft.Office.Server.Microfeed.MicrofeedException. Internal error code: XY."
For example:
This is the list of the microfeed “Internal error” codes, deciphered!
Code
|
Description
|
0
|
Success
|
1
|
ServerError
|
2
|
InsufficientPermissions
|
3
|
InterimPlaceholderEntity
|
4
|
InvalidItemId
|
5
|
InvalidThreadId
|
6
|
InvalidUriInPostOptions
|
7
|
InvalidMediaLinkName
|
8
|
InvalidMediaLinkURI
|
9
|
InvalidMediaLinkSnippetURI
|
10
|
MediaLinkAddFailure
|
11
|
NoServiceContext
|
12
|
Invalid_MicroBlogType_Requested
|
13
|
Only_One_ContentUri_Allowed_Per_Post
|
14
|
Invalid_Content_Null_Or_Empty
|
15
|
Invalid_Content_Length_Greater_Than_512_Chars
|
16
|
Invalid_KeyWord_Found_In_Content
|
17
|
Invalid_MediaLinks_SerializedString
|
18
|
Invalid_MicroBlogPost_SerializedString
|
19
|
MicroBlogEntity_Error_PublishedFeedList_NotFound
|
20
|
MicroBlogEntity_Invalid_GetPublishedFeed
|
21
|
MicroBlogPost_Error_SavingToPublishedFeed
|
22
|
MicroBlogPost_Error_PublishingToCache
|
23
|
MicroBlogPost_Error_DeletingFromCache
|
24
|
MicroBLogList_Error_FetchingList
|
25
|
MicroBlogList_Error_ExecutingQuery
|
26
|
MicroBlogList_Error_FetchingItem
|
27
|
MicroBlogList_Error_AddingItem
|
28
|
MicroBlogList_Error_Updating_Item
|
29
|
MicroBlogList_Error_FetchMBProfileItem
|
30
|
MicroBlogList_Error_AccessingProperty
|
31
|
InvalidRequest
|
32
|
InvalidLikeRequest
|
33
|
InvalidLockRequest
|
34
|
InvalidRootPost
|
35
|
InvalidReplyRequest
|
36
|
InvalidReplyRequest_MaxRepliesPerRootPost_LimitReached
|
37
|
InvalidLikeRequest_AlreadyMarkedAsLiked
|
38
|
InvalidUnLikeRequest_AlreadyMarkedAsUnLike
|
39
|
InvalidEMailSubscriptionRequest_AlreadyUnsubscribed
|
40
|
InvalidEMailSubscriptionRequest_AlreadySubscribed
|
41
|
InvalidEMailSubscriptionRequest_NotThread
|
42
|
InvalidLockRequest_AlreadyMarkedAsLocked
|
43
|
InvalidUnLockRequest_AlreadyMarkedAsUnLocked
|
44
|
InvalidLockRequest_LockingNonRootPost
|
45
|
ServerErrorCanReplyIsFalse
|
46
|
ServerErrorFeatureDisabled
|
47
|
ServerErrorSiteNotFound
|
48
|
ServerErrorMicroBlogListNotFound
|
49
|
ServerErrorRootPostNotFound
|
50
|
ServerErrorPublishedFeedListNotFound
|
51
|
ServerErrorPublishedFeedListItemNotFound
|
52
|
ServerErrorSavingListItemField
|
53
|
ServerErrorInvalidFeedRequest
|
54
|
ServerErrorFetchingPublishedFeed
|
55
|
ServerErrorFetchingConsolidatedFeed
|
56
|
ServerErrorFetchingCategoricalFeed
|
57
|
ServerErrorFetchingActivityFeed
|
58
|
ServerErrorSecurityTrimmer
|
59
|
ServerErrorDuplicateMessageId
|
60
|
ServerErrorOpeningPersonalSite
|
61
|
ServerError_Initialization
|
62
|
ServerErrorInvalidContentURI
|
63
|
ServerErrorInvalidFollowedItemType
|
64
|
ServerErrorPublishingToList
|
65
|
ServerErrorPublishingToCache
|
66
|
MicroBlogDeletionError_NotOwner
|
67
|
ServerCacheError_CacheNotFound
|
68
|
ServerCacheError_NotAuthorized
|
69
|
ServerCacheError_ThreadNotFound
|
70
|
IncorrectTenantPartition
|
71
|
InvalidUserAccount
|
72
|
InvalidKeywordTag
|
73
|
Taxonomy_TagNotAvailabelForTagging
|
74
|
Taxonomy_TermStoreNotFound
|
75
|
InvalidEntityIdentifier
|
76
|
UnexpectedEntityType
|
77
|
WarningPersonalSiteNotFoundCannotCreate
|
78
|
WarningPersonalSiteNotFoundCanCreate
|
79
|
WarningPersonalSiteNotFoundCanCreateNoPermissions
|
80
|
WarningPersonalSiteNotFoundCanCreateError
|
81
|
ErrorPersonalSiteNotFound
|
82
|
GuidStringConversionError
|
83
|
ServerErrorUnableToFetchUserProfile
|
84
|
SP_MFPD_DataBase_Exception
|
85
|
SP_MFPD_DataBase_DefinitionNotFound
|
86
|
SP_MFPD_Invalid_Operation
|
87
|
SP_MFPD_Invalid_Value
|
88
|
SP_MFPD_Partition_Mismatch
|
89
|
SP_MFPD_Definition_Disabled
|
90
|
Invalid_MicroBlogPost_DefinitionNameIsRequired
|
91
|
Invalid_MicroBlogPost_InvalidDefinitionName
|
92
|
InvalidRequest_PostIsLocked
|
93
|
ServerErrorUnableToAttachPicture
|
94
|
InvalidFeedCacheEntity_UserMissingURI
|
95
|
InvalidFeedCacheEntity_DocMissingURI
|
96
|
RestrictedListStorageCompromised
|
97
|
InvalidPostTarget
|
No comments:
Post a Comment