-
Notifications
You must be signed in to change notification settings - Fork 1.1k
SP.Social APIs stopped working recently #11009
Copy link
Copy link
Open
Labels
area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APICategory: SharePoint Client Side Object Model SDK / REST APIsharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-confirmedConfirmed bug, not working as designed / expected.Confirmed bug, not working as designed / expected.
Description
Activity
Metadata
Metadata
Assignees
Labels
area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APICategory: SharePoint Client Side Object Model SDK / REST APIsharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-confirmedConfirmed bug, not working as designed / expected.Confirmed bug, not working as designed / expected.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
SharePoint REST API
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
This is not a development specific issue. So it affects all versions and all tenants.
Describe the bug / error
The SP.Social API for following and unfollowing content has stopped working and returns an code '3'. These endpoints have been working without issue for years. Recently, they started returning '3' which is an error.
SP.Social API
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/following-people-and-content-rest-api-reference-for-sharepoint
We first had this issue logged in our PnPjs repo pnp/pnpjs#3364 . Upon further testing, it is happening across all tenants and not related to PnPjs.
Steps to reproduce
We used PnPjs to reproduce https://pnp.github.io/pnpjs/sp/social/
For testing we executing a following / unfollow calls for both sites and documents
Follow returns 200 but return { ..., "value": 3 } which means according to the docs that an internal error happend
Expected behavior
When using the SP.Social APIs, the following and unfollowing content endpoints should follow and unfollow content and successfully return a 200 with { ..., "value": 2 }