Issue with Yammer embed widget

Occasional Visitor

Hello,

 

We are using Yammer embed widget to display feeds from community onto a classic SharePoint page.

 

This does not work most of the time and we see an error as below.

chetandmahajan_0-1656487201649.png

The embed code looks like this.

chetandmahajan_1-1656487280538.png

 

Please note that this issue occurs intermittently and also on SharePoint modern pages too. Any idea?

 

 

1 Reply

It's easy to reproduce in https://web.yammer.com/embed/widget as well.

Refer to any modern SharePoint page in your tenant as the web link. Start a discussion from the embed widget, refresh page and it's gone. Posting comments to Yammer is not an issue, it's displaying the discussions related to the web link that is the problem.

This is the yammer endpoint being used. It returns 200 OK, but payload contains an error message.
https://web.yammer.com/graphql?operationName=FeedAttachableLinkNestedClients

Here's the GraphQL payload (redacted)

{"operationName":"FeedAttachableLinkNestedClients","variables":{"threadCount":4,"replyCount":1,"sortRepliesBy":"CREATED_AT","link":"https://*****.sharepoint.com/sites/*****/SitePages/Petter's-nyhet-med-Yammer.aspx","includeViewerHasBookmarked":true},"extensions":{"yammerTreatments":{"version":"1","treatments":[{"project":"CrossPlatform","key":"SharePointVideoLinkPreviews","value":"true"},{"project":"CrossPlatform","key":"ServerSharePointWebLinks","value":"enabled"},{"project":"ClientForward","key":"GroupsFromGrouper","value":"true"},{"project":"ClientForward","key":"UserGroupsFromGrouper","value":"enabled"}]},"persistedQuery":{"version":1,"sha256Hash":"*******e68535c99d065e9fa977384ef23b484b344"}}}

 

Here's the response from the API

{"data":{"resolveWebLink":null},"errors":[{"message":"Service timeout.","locations":[{"line":6,"column":11}],"path":["resolveWebLink","webObject","feed","threads"],"correlationId":"ef875c5f-66ad-4015-a8ad-870c7bcefdac","type":"SERVER_ERROR","extensions":{"category":"DOWNSTREAM","timestamp":"2022-06-29T07:57:25.895+00:00"}}]}


The error says it's a timeout issue and I suspect the reason is that the Yammer service is trying to resolve the web link url (SharePoint page) which isn't available anonymously.


PetterSkodvinHvammen_0-1656489266941.png